Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
PJY PJY is offline
external usenet poster
 
Posts: 306
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Dian D. Chapman, MVP Dian D. Chapman, MVP is offline
external usenet poster
 
Posts: 89
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell Check a protected Form with a Macro & already have forms picture macro [email protected] Microsoft Word Help 2 October 25th 07 04:11 PM
Macro cannot be found or has been disabled because of Macro settin JD2 Microsoft Word Help 5 March 15th 07 04:00 AM
Pause an executing Word Macro to enter info and then Macro continu strongwell Microsoft Word Help 1 August 11th 06 06:57 PM
I've lost the Control Z (undo) macro in Word. How to get it back transcriptionist Microsoft Word Help 1 November 16th 05 05:28 PM
2000 to 2002 macro and "Could not open macro storage" Art Farrell Mailmerge 1 December 6th 04 12:40 PM


All times are GMT +1. The time now is 12:32 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"