About 667,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. 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 …

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

  4. vba - Detect whether Excel workbook is already open - Stack …

    Feb 21, 2012 · 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 …

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

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

  7. VBA (Excel): Find Based on Multiple Search Criteria Without Looping

    Dec 25, 2013 · But because one of the sorting columns contains dates, I had issues getting AutoFilter to work properly. My question is, how can I search through columns in Excel VBA …

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

  9. vba - Is there a way to use macros in Excel online version (office …

    Feb 17, 2021 · I worked on excel macros for widows application to load data. I have created the add-in but now I have to use the same add-in in excel online version which is web based or is …

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