Macro to undo previously run macro

P

PJY

I use Word 2003 and have created a forms document with several macrobuttons.
In order to make life easier for the users of this form, I would like to add
a button to the form which will undo the results of the macrobutton in case
someone hits the wrong macrobutton they can easily undo that action. Some of
the macrobuttons have 25 or more actions to undo so simply hitting Edit undo
won't work for this. So, how do I create a macro to undo a previously run
macro?
 
D

Dian D. Chapman, MVP

Well...that would depend on what the first one does. You'd have to go
through each step in the DOING and create a macro that reverts all the
done things back to the way they were before!

Dian D. Chapman
Technical Consultant, Microsoft MVP
MOS Certified Instructor, Editor/TechTrax Ezine
Tech Editor for Word & Office 2007 Bibles
https://mvp.support.microsoft.com/profile/Dian.Chapman

Free PC Tutorials: http://www.mousetrax.com/techtrax
Free Word Tricks eBook: http://www.mousetrax.com/books.html
Optimize your business docs: http://www.mousetrax.com/consulting
Learn VBA the easy way: http://www.mousetrax.com/techcourses.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top