ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Create an Undo (https://www.excelbanter.com/excel-programming/299994-create-undo.html)

brad

Create an Undo
 
Thanks for taking the time to read my question.

I am creating macros to do some work. However, Excel's
Undo button cannot undo what my macro has done.

Is it possible to create an undo macro to undo the
changes made by another macro?

Thanks so much for your help,

Brad

Frank Kabel

Create an Undo
 
Hi
this would be difficult. You have to manually store in your first macro
somethere the worksheet stae before applying your macro. And afterwards
create a second macro which will return to this old state. Note: any
changes made between those two macros manually are lost in this case.

--
Regards
Frank Kabel
Frankfurt, Germany


Brad wrote:
Thanks for taking the time to read my question.

I am creating macros to do some work. However, Excel's
Undo button cannot undo what my macro has done.

Is it possible to create an undo macro to undo the
changes made by another macro?

Thanks so much for your help,

Brad



JE McGimpsey

Create an Undo
 
Take a look he

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


In article ,
"Brad" wrote:

Thanks for taking the time to read my question.

I am creating macros to do some work. However, Excel's
Undo button cannot undo what my macro has done.

Is it possible to create an undo macro to undo the
changes made by another macro?

Thanks so much for your help,

Brad



All times are GMT +1. The time now is 06:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com