About 387,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. 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, 10 months ago Viewed 43k times

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

    Apr 2, 2018 · 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.

  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. if condition with "and" combine "multiple or" in Vba Excel

    Aug 16, 2017 · if condition with "and" combine "multiple or" in Vba Excel Asked 7 years, 10 months ago Modified 2 years, 3 months ago Viewed 32k times

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

  7. VBA + Excel + Try Catch - Stack Overflow

    Dec 20, 2019 · 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

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

  9. Combine multiple Excel workbooks into a single workbook

    Oct 20, 2014 · I am a novice at Visual Basic. I can use either Excel 2010 or Excel 2013 for this task. I have dozens of workbooks with data on the first worksheet of each. For example …

  10. How to show current user name in a cell? - Stack Overflow

    Aug 3, 2011 · In most of the online resource I can find usually show me how to retrieve this information in VBA. Is there any direct way to get this information in a cell? For example as …

Refresh