Jagwarman
asked on
select a range within a bigger range
I need to select a range from A-L but the range on the sheet is A - AQ
So lets say I want to select A1 to L200 or A2 to L2000
Could an Expert provide me with the VBA code to do this please
Thanks
So lets say I want to select A1 to L200 or A2 to L2000
Could an Expert provide me with the VBA code to do this please
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Option 2 is what I was looking for thanks
ASKER
sorry Saqib but,
If I want to select from A2 to L500 or A2 to L1000 etc this does not work it always selects from A1.
Can you assist
If I want to select from A2 to L500 or A2 to L1000 etc this does not work it always selects from A1.
Can you assist
Range("A1").currentregion. offset(1). resize(-1, 12).select
ASKER
tried that but it did not work.
Try this
Range("A1").currentregion. offset(1). resize(Ran ge("A1").c urrentregi on.rows.co unt-1,12). select
Range("A1").currentregion.
ASKER
perfect thanks
Range("A2:L2000").select