Add Ins and Undo

Todd Bardoni

Well-known Member
Joined
Aug 29, 2002
Messages
3,042
I created an Add In that adds two options to my Cell menu. The first simply changes a selection of formulas to values and the other Trims and Cleans a selection. However, when I use it I don't get the option to undo. Is there a solution for this?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Richie(UK)

MrExcel MVP
Joined
May 17, 2002
Messages
3,329
Hi t,

Generally speaking if you do something via a macro then the Undo feature is reset, ie there's no going back!

Your only real option, as far as I am aware, is to make some sort of back-up of the data before you act on it and then use this info for restoration purposes.

Here's JWalk's thoughts on it:

http://www.j-walk.com/ss/excel/tips/tip23.htm


HTH
 

Todd Bardoni

Well-known Member
Joined
Aug 29, 2002
Messages
3,042
Thanks for the link Richie. Since the add in is just for my use I'll deal without the Undo...too much effort for little benefit (until I need it :LOL: ). But, that info will come in handy later.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,102
Messages
5,768,104
Members
425,455
Latest member
tim851858

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
Top