velohead
Board Regular
- Joined
- Aug 22, 2007
- Messages
- 212
Hi All
No doubt the solution is quick, but here goes....
I want to select 2 non-contiguous cells within a macro.
If I specify….
Range("D5,M16").Select
…that works.
If I use the same logic and use the following code (for different cells) then it does not work.
What am I missing please (ie what’s the solution).
Thanks All
No doubt the solution is quick, but here goes....
I want to select 2 non-contiguous cells within a macro.
If I specify….
Range("D5,M16").Select
…that works.
If I use the same logic and use the following code (for different cells) then it does not work.
Code:
ACA1 = ActiveCell.Address
ActiveCell.Offset(3, 3).Select
ACA2 = ActiveCell.Address
Sheets("Sheet2").Select
Range(ACA1, ACA2).Select
What am I missing please (ie what’s the solution).
Thanks All