About 665,000 results
Open links in new tab
  1. vba - Excel doesn't update value unless I hit Enter - Stack Overflow

    Jul 8, 2015 · I have a very annoying problem in one of my worksheets in a workbook. I am using EXCEL 2007. Any cell's value will not be updated unless I hit ENTER. Either if the formula in …

  2. vba - How to wait until ActiveWorkbook.RefreshAll finishes before ...

    I have a subroutine that calls ActiveWorkbook.RefreshAll to bring new data in from an XML source on a website, and then performs multiple modifications to it. The problem is that not enough …

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

  4. VBA + Excel + Try Catch - Stack Overflow

    VBA will allow you to adhoc use variables, but its difficult to maintain if you do that. Add to the beginning of your code, right after version dim URL as string dim objHTTP as object

  5. class - Pass arguments to Constructor in VBA - Stack Overflow

    Mar 5, 2013 · Here's a little trick I'm using lately and brings good results. I would like to share with those who have to fight often with VBA. 1.- Implement a public initiation subroutine in each of …

  6. vba - Removing All Spaces in String - Stack Overflow

    Feb 18, 2017 · I created a macro for removing all whitespace in a string, specifically an email address. However it only removes about 95% of the whitespace, and leaves a few. My code: …

  7. excel - How to use OR in if statement in VBA - Stack Overflow

    Jul 14, 2017 · How to use OR in if statement in VBA [duplicate] Asked 8 years, 3 months ago Modified 4 years, 2 months ago Viewed 47k times

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

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

  10. vba - Run Time Error 5 - Invalid Procedure Call or Argument

    Looks like you might have an issue supplying a name to the table that is a fixed value. You are calling it PivotTable6 but that name is only available the first time you create the pivot. After …