About 664,000 results
Open links in new tab
  1. How to comment and uncomment blocks of code in the Office …

    Apr 2, 2018 · In the VBA editor of Office (ALT + F11), how do you comment or uncomment a block of code?

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

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

  4. Using "If cell contains" in VBA excel - Stack Overflow

    This will loop through all cells in a given range that you define ("RANGE TO SEARCH") and add dashes at the cell below using the Offset() method. As a best practice in VBA, you should …

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

    Dec 30, 2011 · VBA does not have a Continue or any other equivalent keyword to immediately jump to the next loop iteration. I would suggest a judicious use of Goto as a workaround, …

  6. excel - Declare and use range in vba - Stack Overflow

    Dec 10, 2014 · I am quite new to VBA, Today developing a macro I noticed something funny. Using Range like this is working : Dim rg As Range Set rg = ActiveSheet.Range("A1:B2") …

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

  8. How Do I Convert an Integer to a String in Excel VBA?

    Jul 21, 2012 · How do I convert the integer value "45" into the string value "45" in Excel VBA?

  9. How can I send an HTTP POST request to a server from Excel using …

    Oct 1, 2008 · What VBA code is required to perform an HTTP POST from an Excel spreadsheet?

  10. excel - How to use VBA to duplicate a sheet and then rename it …

    Jul 9, 2021 · How to use VBA to duplicate a sheet and then rename it (all in one sub)? Asked 4 years, 3 months ago Modified 1 year ago Viewed 8k times