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

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

  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. Excel VBA - Delete empty rows - Stack Overflow

    Feb 21, 2012 · This worked great for me (you can adjust lastrow and lastcol as needed): Sub delete_rows_blank2() t = 1 lastrow = ActiveSheet.UsedRange.Rows.Count lastcol = …

  6. 请问 Excel 里面的 VBA 具体能做什么?有哪些实际的用途? - 知乎

    VBA 在Excel 中,主要是用来替代手动,实现批量处理。 举几个我自己的实际例子吧。 比如说,月末的时候需要汇总一下数据(比如粉丝增长、用户下单等),而这些数据都分布在每天的 …

  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 create and write to a txt file using VBA - Stack Overflow

    Please note that this answer promotes bad coding practice: The problem is that not explicitly defining the correct variable types as well as creating an object by a string reference to its …

  9. vba - How to break a long string into multiple lines - Stack Overflow

    Mar 31, 2023 · VBA - Using Range("A1").Formula = But the formula is over 3 lines so I am using _ at the end, but the IF statement on the next lines are giving errors 28 Breaking a String Across …

  10. vba - Continue For loop - Stack Overflow

    You're thinking of a continue statement like Java's or Python's, but VBA has no such native statement, and you can't use VBA's Next like that. You could achieve something like what …

Refresh