About 18,400,000 results
Open links in new tab
  1. Newest 'vba' Questions - Stack Overflow

    Dec 11, 2025 · Visual Basic for Applications (VBA) is an event-driven programming language which was first introduced by Microsoft in 1993 to give Excel 5.0 a more robust object-oriented …

  2. Parsing JSON in Excel VBA - Stack Overflow

    Jul 8, 2011 · 87 I have the same issue as in Excel VBA: Parsed JSON Object Loop but cannot find any solution. My JSON has nested objects so suggested solution like VBJSON and vba …

  3. 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 + …

  4. Find last used cell in Excel VBA - Stack Overflow

    See my solution based on UsedRange and VBA arrays to find the last cell with data in the given column -- it handles hidden rows, filters, blanks, does not modify the Find defaults and is quite …

  5. How to show current user name in a cell? - Stack Overflow

    In most of the online resource I can find usually show me how to retrieve this information in VBA. Is there any direct way to get this information in a cell? For example as simple as …

  6. 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 …

  7. vba - Get User Selected Range - Stack Overflow

    Aug 28, 2012 · How can I get a range of cells selected via user mouse input for further processing using VBA?

  8. Get list of Excel files in a folder using VBA - Stack Overflow

    Filepath = "D:\Personal\" For Each i in FileArray Workbooks.Open(Filepath+i) Next I had a look at this, however, I wasn't able to open the files cause it stored the names in Variant format. In …

  9. 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 …

  10. Copy data from another Workbook through VBA - Stack Overflow

    Sep 13, 2011 · Copy data from another Workbook through VBA Asked 14 years, 3 months ago Modified 3 years, 7 months ago Viewed 232k times