About 609,000 results
Open links in new tab
  1. 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 …

  2. What is the equivalent of "!=" in Excel VBA? - Stack Overflow

    The problem is that != does not work as a function in excel vba. I want to be able to use If strTest != "" Then instead of If strTest = "" Then Is there another approach to do this besides !=? ...

  3. VBA Runtime error '-2147221164 (80040154)': class not Registered

    Feb 24, 2021 · I developed a class library in Visual Studio 2019 using the .NET framework. Before building the project, I registered the.dll file to interop COM, and this process gave me a .tlb file. …

  4. 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 7 years, 11 months ago Modified 3 years, 11 months ago Viewed 44k times

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

  6. Excel VBA Loop on columns - Stack Overflow

    Dec 21, 2012 · Excel VBA Loop on columns Asked 12 years, 6 months ago Modified 4 years, 8 months ago Viewed 282k times

  7. vba - Reference excel worksheet by name? - Stack Overflow

    Mar 9, 2012 · I have the name of a worksheet stored as a string in a variable. How do I perform some operation on this worksheet? I though I would do something like this: nameOfWorkSheet …

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

  9. What operator is <> in VBA - Stack Overflow

    Oct 21, 2012 · I was studying some vba code and came across this: If DblBalance &lt;&gt; 0 Then I can't figure out what operator this is, any help would be appreciated.

  10. vba - Excel: macro to export worksheet as CSV file without leaving …

    May 5, 2016 · There are a lot of questions here to create a macro to save a worksheet as a CSV file. All the answers use the SaveAs, like this one from SuperUser. They basically say to …