About 54 results
Open links in new tab
  1. Newest 'vba' Questions - Stack Overflow

    6 days ago · Visual Basic for Applications (VBA) is an event-driven programming language which was first introduced by Microsoft in 1993 to give Excel 5.0 a more robust object-oriented language for …

  2. How do I express "if value is not empty" in the VBA language?

    Dec 31, 2009 · Worth noting, that this is something like the null value in other mainstream languages. Emtpy value IS NOT empty string (eg:"")...

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

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

  4. How to continue the code on the next line in VBA - Stack Overflow

    15 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, which is an …

  5. Read/Parse text file line by line in VBA - Stack Overflow

    I'm trying to parse a text document using VBA and return the path given in the text file. For example, the text file would look like: *Blah blah instructions *Blah blah instructions on line 2 G:\\\\...

  6. Does the += operator just not exist in VBA? - Stack Overflow

    VBA is quite different from VB.net - VBA isn't so strict with type but then again VB.net isn't as strict as c#. I like them all - VBA seems limited but if you are playing with Excel then VBA is part of the …

  7. vba - Lock down Microsoft Excel macro - Stack Overflow

    Sep 9, 2016 · Protect/Lock Excel VBA Code: When we write VBA code it is often desired to have the VBA Macro code not visible to end-users. This is to protect your intellectual property and/or stop …

  8. Find last used cell in Excel VBA - Stack Overflow

    See my solution based on UsedRange and VBA arrays to find the last cell with data in the given column -- it handles hidden rows, filters, blanks, does not modify the Find defaults and is quite performant. …

  9. 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 8 years, 6 months ago Modified 4 years, 5 months ago Viewed 48k times

  10. How should I make my VBA code compatible with 64-bit Windows?

    I have a VBA application developed in Excel 2007, and it contains the following code to allow access to the ShellExecute function from Shell32.dll: Private Declare Function ShellExecute Lib "shell...