About 416,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. vba - automation error -2146232576 (80131700) on creating an …

    Nov 16, 2016 · I am answering a question that is two and a half years old, but took me way too long to find an answer for this elsewhere, and this still appears near the top of google's results …

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

    Apr 2, 2018 · In VBA this is <> (Not equal to) operator. The result becomes true if expression1 <> expression2.

  4. excel - How to use OR in if statement in VBA - Stack Overflow

    Jul 14, 2017 · Microsoft Excel's VBA: If Statements running incorrectly, Always Run. 0.

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

  6. Newest 'vba' Questions - Stack Overflow

    I have a vba sub which takes data from some cells, calls a function, then copies the data into a different cell. Inside the Function, at the last step I see the value = .2046 The next step with the ...

  7. Excel VBA Loop on columns - Stack Overflow

    Dec 21, 2012 · If you want to stick with the same sort of loop then this will work: Option Explicit Sub selectColumns() Dim topSelection As Integer Dim endSelection As Integer topSelection = …

  8. Combine multiple Excel workbooks into a single workbook

    Oct 20, 2014 · The following accomplishes the task. Option Explicit Private Sub CommandButton1_Click() Dim directory As String, fileName As String, sheet As Worksheet, …

  9. if condition with "and" combine "multiple or" in Vba Excel

    Aug 16, 2017 · You can't use If statement in condition in another If statement. One solution is to use nested If's, for more info look here.

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

Refresh