relative referencing

immyjimmy

Active Member
Joined
May 27, 2002
Messages
257
I have recorded my macro, and it works fine. But only on the cell I recorded it on. How do I get it to apply changes relative to where the active cell is when I execute the macro? I have looked relative references in the HELP file and also done a search here. But I can't seem to find what should be a simple thing.

Thanks is advance,
Jim
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
It should be displayed when you choose the Tools | Macro | Record New Macro... menu command.
 
Upvote 0
If it doesn't show up, right click on any toolbar while recording and you can select it
 
Upvote 0
Right click a toolbar while recording it. I never woulda thunk it.


Thanks, that took care of it.


Jim
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,521
Members
449,088
Latest member
RandomExceller01

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