Undo Actions performed by addin

vini1508

New Member
Joined
Feb 8, 2016
Messages
29
Hii, i want to know how to create and undo addin which will undo the actions performed by any other addin plss help...:):)
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
If it's not a Microsoft addin with Undo included, I'm guessing you won't be able to UNDO any code that has been run....when a macro runs the Undo stack is cleared permanantly
 
Upvote 0
I'd recommend, write code at the very beginning of your macro to always save a backup copy of your Workbook before running the rest of the macro. This is the only way.
 
Upvote 0
There is not a way to undo an action by a macro. As it has already been stated in most cases running VBA removes the undo stack.
What the Boost addin is probably doing is doing a test of what state the sheet was in before and storing it in it's memory (for instance testing and storing in memory what color a cell is, then making the cell yellow then when you do Ctrl + Z calling the originally stored information).
Basically doing a back up of the previous settings similar to what jtakw has already suggested.

It is not using the Undo stack.

See the link below

http://www.jkp-ads.com/articles/undowithvba00.asp
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,332
Messages
6,124,314
Members
449,153
Latest member
JazzSingerNL

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