About 45,300,000 results
Open links in new tab
  1. 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 …

  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. object - VBA Check if variable is empty - Stack Overflow

    Jul 25, 2010 · For a number, it is tricky because if a numeric cell is empty VBA will assign a default value of 0 to it, so it is hard for your VBA code to tell the difference between an entered …

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

  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. filter out multiple criteria using excel vba - Stack Overflow

    Feb 18, 2015 · 1 Alternative using VBA's Filter function As an innovative alternative to @schlebe 's recent answer, I tried to use the Filter function integrated in VBA, which allows to filter out a …

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

  8. VBA to copy a file from one directory to another - Stack Overflow

    I have an access file that I regularly need to copy to another directory, replacing the last version. I would like to use an Excel macro to achieve this, and would also like to rename the file in the

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

  10. Properly Handling Errors in VBA (Excel) - Stack Overflow

    Block 2 looks like an imitation of a Try/Catch block. It should be okay, but it's not The VBA Way. Block 3 is a variation on Block 2. Block 4 is a bare-bones version of The VBA Way. I would …