About 54,900,000 results
Open links in new tab
  1. vba - Detect whether Excel workbook is already open - Stack …

    May 27, 2019 · In VBA, I opened an MS Excel file named "myWork.XL" programmatically. Now I would like a code that can tell me about its status - whether it is open or not. I.e. something …

  2. VBA: Selecting range by variables - Stack Overflow

    I want to select the formatted range of an Excel sheet. To define the last and first row I use the following functions: lastColumn = ActiveSheet.UsedRange.Column - 1 + …

  3. vba - Continue For loop - Stack Overflow

    Heck, I wrote so much VBA code at one time (before CS and IT were a thang) that I couldn't even recognise that I was the one who wrote some of it. Appreciate the intellectual exercise 25 …

  4. VBA + Excel + Try Catch - Stack Overflow

    VBA will allow you to adhoc use variables, but its difficult to maintain if you do that. Add to the beginning of your code, right after version dim URL as string dim objHTTP as object

  5. Declaring variable workbook / Worksheet vba - Stack Overflow

    Sep 25, 2014 · VBA uses this code name to automatically declare a global-scope Worksheet object variable that your code gets to use anywhere to refer to that sheet, for free. In other …

  6. vba - How to add default signature in Outlook - Stack Overflow

    54 I am writing a VBA script in Access that creates and auto-populates a few dozen emails. It's been smooth coding so far, but I'm new to Outlook. After creating the mailitem object, how do I …

  7. How to add headers to a multicolumn listbox in an Excel userform …

    Is it possible to set up the headers in a multicolumn listbox without using a worksheet range as the source? The following uses an array of variants which is assigned to the list property of the l...

  8. VBA - how to conditionally skip a for loop iteration

    Dec 30, 2011 · I have a for loop over an array. What I want to do is test for a certain condition in the loop and skip to the next iteration if true: For i = LBound(Schedule, 1) To …

  9. Automating Edge Browser using VBA without downloading Selenium

    Apr 10, 2024 · The advantage of this method is that it allows VBA to interact directly with Edge without IE mode and also with Chrome. Automate Chrome / Edge using VBA via CDP - Code …

  10. vba - How to wait until ActiveWorkbook.RefreshAll finishes before ...

    With ActiveWorkbook.Connections("XMLTable") .Name = "XMLTable" .Description = "" End With ActiveWorkbook.Connections("XMLTable").refresh The class ActiveWorkbook.Connections …