About 22,500,000 results
Open links in new tab
  1. What operator is <> in VBA - Stack Overflow

    Oct 21, 2012 · I was studying some vba code and came across this: If DblBalance &lt;&gt; 0 Then I can't figure out what operator this is, any help would be appreciated.

  2. Newest 'vba' Questions - Stack Overflow

    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 writing macros and …

  3. Parsing JSON in Excel VBA - Stack Overflow

    Jul 8, 2011 · 87 I have the same issue as in Excel VBA: Parsed JSON Object Loop but cannot find any solution. My JSON has nested objects so suggested solution like VBJSON and vba-json do not work …

  4. How to show current user name in a cell? - Stack Overflow

    In most of the online resource I can find usually show me how to retrieve this information in VBA. Is there any direct way to get this information in a cell? For example as simple as =ENVIRON('Use...

  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 + ActiveSheet.UsedRange.Columns.

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

  7. excel - How to use VBA to duplicate a sheet and then rename it (all in ...

    Jul 9, 2021 · How to use VBA to duplicate a sheet and then rename it (all in one sub)? Asked 4 years, 5 months ago Modified 1 year, 2 months ago Viewed 8k times

  8. excel - VBA - Range.Row.Count - Stack Overflow

    Sub test() Dim sh As Worksheet Set sh = ThisWorkbook.Sheets("Sheet1") Dim k As Long k = sh.Range("A1", sh.Range("A1").End(xlDown)).Rows.Count End Sub What happens is this: We count …

  9. vba - Continue For loop - Stack Overflow

    Heck, I wrote so much VBA code at one time (before CS and IT were a thang) that I couldn't even recognise that I was the one who wrote some of it. Appreciate the intellectual exercise 25 years later, …

  10. VBA - how to conditionally skip a for loop iteration

    Dec 30, 2011 · I have a for loop over an array. What I want to do is test for a certain condition in the loop and skip to the next iteration if true: For i = LBound(Schedule, 1) To UBound(Schedule, 1) If (Sc...