Excel Undo Event After Running A Macro

animas

Active Member
Joined
Sep 28, 2009
Messages
396
I see that running any macro cancels all of the Undo events of Excel.
I am not talking about Undo the Macro. I am talking about Undo non-macro tasks that I did immediately before running the macro.

Is there any workaround to this?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Basically, NO
Once a macro has been run the undo stack is emptied and it can't be redone.
 
Upvote 0
No you cannot do that, however if the same thing is affected each time and you would like that to be reversed then you could include that bit in the macro, for instance a formula in a cell etc, if the macro is changing a lot of things you dont want it to then it is not the macro for you.
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,240
Members
452,898
Latest member
Capolavoro009

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