ActiveCell.Offset - how do I extend the selected range ?

Gerald Higgins

Well-known Member
Joined
Mar 26, 2007
Messages
9,258
Hi, tried searching for this but not found it so far.

I am using "ActiveCell.Offset" to select a specific cell, based on the current week number.
That bit works.
I then want to extend the selection from a single cell, to a range 6 columns wide, 2 rows deep, where the active cell is at the top left.

So for example, in week 1, select cell A1 (this bit works fine) and then extend the selection to the range A1:F3.
And in week 2, select cell G1 (this bit also works fine) and then extend the selection to the range G1:L3.

How do I do this ?

Thanks in advance for any help !
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top