About 22,900,000 results
Open links in new tab
  1. Does the += operator just not exist in VBA? - Stack Overflow

    VBA is quite different from VB.net - VBA isn't so strict with type but then again VB.net isn't as strict as c#. I like them all - VBA seems limited but if you are playing with Excel then VBA is part of …

  2. Newest 'vba' Questions - Stack Overflow

    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 language for …

  3. How to comment and uncomment blocks of code in the Office …

    Apr 2, 2018 · In the VBA editor, go to View, Toolbars, Customise... or right click on the tool bar and select Customise... Under the Commands tab, select the Edit menu on the left. Then …

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

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

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

  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. VBA, ADO.Connection and query parameters - Stack Overflow

    Apr 27, 2012 · VBA, ADO.Connection and query parameters Asked 13 years, 7 months ago Modified 8 months ago Viewed 101k times

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