Selecting a range of cells in a macro
Here's one way:
Range(ActiveCell.Address & ":" & ActiveCell.Offset(0, 10).Address).Select
Hope that helps.
"Victor Delta" wrote:
Can anyone help me with this please.
I have written an Excel (XP) macro that has to start by selecting a range
based on the active cell and the 10 cells to its right.
How do I put this into VBA code please?
Thanks,
V
|