About 663,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. Excel VBA Loop on columns - Stack Overflow

    Dec 21, 2012 · Excel VBA Loop on columns Asked 12 years, 10 months ago Modified 5 years ago Viewed 283k times

  3. excel - Use of symbol # (hash) in VBA Macro - Stack Overflow

    Jun 5, 2012 · What is the meaning of the use of the # symbol in Excel VBA? It is used like this: a = b /100# I don't understand the significance of # after the 100?

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

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

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

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

  9. How to do a "Save As" in vba code, saving my current Excel …

    I have an Excel Workbook that on form button click I want to save a copy of the workbook with the filename being the current date. I keep trying the the following ActiveWorkbook.SaveAs …

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