timstring
New Member
- Joined
- Feb 6, 2013
- Messages
- 30
This is a really ignorant question, because I should know the simple answer. I need a command that causes a selection over a range of cells where the column varies from one sheet to another. Here's what I've tried:
I know the value of LastCol. What am I overlooking?
ts
Code:
ActiveCell.Offset(0, 0).Range("R[1]C[1]:R[2]C[" & LastCol & "]").Select
I know the value of LastCol. What am I overlooking?
ts