About 627,000 results
Open links in new tab
  1. vba - How to run SAP GUI script from Excel Macro - Stack Overflow

    Jul 19, 2017 · I am trying to create a Excel macro which executes the SAP GUI Script. I already created the script but I didn't understand how to use that in VBA macro. This is my SAP GUI …

  2. vba - "ThisWorksheet" equivalent? - Stack Overflow

    In Excel, I have some macros that are part of a Worksheet module. In the code, I want to make sure that the ranges referred to are part of that worksheet. For example, in my Main Sheet …

  3. excel - Check if value exists in column in VBA - Stack Overflow

    Sep 28, 2012 · I have a column of numbers of over 500 rows. I need to use VBA to check if variable X matches any of the values in the column. Can someone please help me?

  4. vba - Split string into array of characters? - Stack Overflow

    Nov 2, 2012 · How is it possible to split a VBA string into an array of characters? I tried Split(my_string, "") but this didn't work.

  5. vba - One-dimensional array from Excel Range - Stack Overflow

    Oct 4, 2011 · I'm presently populating my array Securities with the following code: Option Base 1 Securities = Array(Worksheets(3).Range("A8:A" & SymbolCount).Value) This produces a …

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

    May 30, 2015 · 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 …

  7. How to implement custom iterable class in VBA - Stack Overflow

    How to implement custom iterable class in VBA Asked 11 years, 6 months ago Modified 6 years, 8 months ago Viewed 9k times

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

  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. VBA Run-time error '-2147467259 (80004005) - Stack Overflow

    Jul 1, 2015 · I am trying to connect to mysql using Excel VBA, I am using Excel 2013. I am new to VB, so i followed this example: Inserting Data Into MySQL From Excel Using VBA Here is my …