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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

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
 
Upvote 0

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.
 
Upvote 0

Forum statistics

Threads
1,187,182
Messages
5,962,069
Members
438,579
Latest member
fishkeeper

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