About 726,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 - 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") …

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

  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. Get list of Excel files in a folder using VBA - Stack Overflow

    Dir Function: VBA: Dir Function FileSystemObject: VBA: FileSystemObject - Files Collection They each have their own strengths and weaknesses. Dir Function The Dir Function is a built-in, …

  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. vba - Check if a string contains another string - Stack Overflow

    Mar 23, 2013 · I want to find if a string contains a ","(comma) in it. Do we have any other option other than reading char-by-char?

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