Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro to undo previously run macro
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? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro to undo previously run macro
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 On Tue, 22 Jan 2008 18:17:02 -0800, PJY wrote: 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? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Spell Check a protected Form with a Macro & already have forms picture macro | Microsoft Word Help | |||
Macro cannot be found or has been disabled because of Macro settin | Microsoft Word Help | |||
Pause an executing Word Macro to enter info and then Macro continu | Microsoft Word Help | |||
I've lost the Control Z (undo) macro in Word. How to get it back | Microsoft Word Help | |||
2000 to 2002 macro and "Could not open macro storage" | Mailmerge |