Scott Huish
MrExcel MVP
- Joined
- Mar 17, 2004
- Messages
- 20,596
- Office Version
- 365
- Platform
- Windows
Ok, I just discovered something new to me and I'm wondering if there's any reason why not to do it this way (1st line in example code)?
The 2nd one is a little shorter. Is that its advantage?
VBA Code:
lr = Range("A:A").SpecialCells(xlCellTypeLastCell).Row
lr2 = Range("A" & Rows.Count).End(xlUp).Row
The 2nd one is a little shorter. Is that its advantage?