About 483,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. 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.

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

  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. How to continue the code on the next line in VBA

    In VBA (and VB.NET) the line terminator (carriage return) is used to signal the end of a statement. To break long statements into several lines, you need to Use the line-continuation character, …

  7. How to comment and uncomment blocks of code in the Office …

    Apr 2, 2018 · In the VBA editor, go to View, Toolbars, Customise... or right click on the tool bar and select Customise... Under the Commands tab, select the Edit menu on the left. Then …

  8. vba - Check if a string contains another string - Stack Overflow

    Feb 19, 2014 · Use the Instr function (old version of MSDN doc found here). Dim pos As Integer pos = InStr("find the comma, in the string", ",")

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

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

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

Refresh