eirikdaude
Board Regular
- Joined
- Nov 26, 2013
- Messages
- 93
- Office Version
- 365
- Platform
- Windows
I have a ListObject looking like this, and want to select B4:B16 for ListColumn(1), C4:C13 for ListColumn(2) and D4:D13 for ListColumn(3).
Is there any quick way to do this?
I know I can use
to select ListColumn(1), but what is the smartest way to find the last used cell in the two other columns?
Is there any quick way to do this?
I know I can use
VBA Code:
ActiveWorksheet.ListObjects(1).ListColumn(1).DataBodyRange