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

  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 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 = …

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

  7. 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", ",")

  8. Loop through files in a folder using VBA? - Stack Overflow

    Apr 30, 2012 · I would like to loop through the files of a directory using vba in Excel 2010. In the loop, I will need: the filename, and; the date at which the file was formatted. I have coded the …

  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 - Use of symbol # (hash) in VBA Macro - Stack Overflow

    Jun 5, 2012 · What is the difference between 'Type characters' and 'Type conversion functions' in VBA? 0 Excel VB-Macro values from one column to only alphanumeric values on the next column

Refresh