The website you are looking at is for Visual Studio (.NET) .
VBA Integer is 32,768. You need to use a long.
A VBA Long variable holds whole numbers from -2,147,483,648 to 2,147,483,647 and uses 4 bytes (32 bits) of memory.
Dim lLastRow as Long
More Related Contents:
- How do I get values from a hidden worksheet using VBA [closed]
- How to copy cells that contain certain text to another worksheet [closed]
- VBA Macro for copying and pasting columns on same excel sheet
- Excel VBA, code to count the # of filled cells, then find highest and 2nd highest and subtract the corresponding column #’s [closed]
- Levenshtein Distance in VBA [closed]
- VBA Runtime Error 1004 “Application-defined or Object-defined error” when Selecting Range
- How do I base64 encode a string efficiently using Excel VBA?
- Assign event handlers to controls on user form created dynamically in VBA
- Programmatic Access To Visual Basic Project Is Not Trusted
- Can I make this macro more efficient or faster?
- Conditional Formatting using Excel VBA code
- Controlling IE11 “Do you want to Open/Save” dialogue window buttons in VBA
- How to get the background color from a Conditional Formatting in Excel using VBA
- VBA Excel Populate ListBox with multiple columns
- Best workaround for VBA Transpose array length limit?
- How to use Events with Option Button Controls on Userform [duplicate]
- How do I use variables to set properties in VBA (Excel)
- VBA: Else without If Error
- Windows().Activate works on every computer except one
- How to highlight a cell using the hex color value within the cell?
- Convert RTF (Rich Text Format) code into plain text in Excel
- lastrow and excel table.
- Open a workbook from VBA and disable Workbook_Open() code?
- How to filter listbox values based on a Textbox value
- Find and FindNext for Excel VBA
- Calling regasm without administrative rights for COM interop in Excel VBA
- Is there a way for DIR(path) in VBA to handle strings longer than 260?
- How do I activate a specific workbook and a specific sheet?
- Start VBA macro when editing a cell
- Copy an entire worksheet to a new worksheet in Excel 2010