#1
|
|||
|
|||
How do you undo a macro?
I have created a form with several options on the form. I want the users to be able to select a macro then be able to undo that macro if they did not like/want that option. I have looked on various websites which posted the same question but no resolution to the situation. Can you write a command to undo the previous macro? |
#2
|
||||
|
||||
Have you considered the Document.Undo method?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
No, how would I write that command out?
|
#4
|
||||
|
||||
Have you looked in the vba Help file? It has an example.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Great suggestions macropod, it worked.
|
#6
|
|||
|
|||
The command worked in 2010 but when I sent it to someone who has 2003, it did not work.
What can I do to fix it? |
#7
|
||||
|
||||
The command works in Word 2003, so the issue must be with how it's being implemented.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
undo error in Word 2007 and 2010 | neil1967 | Word | 1 | 07-18-2014 10:25 AM |
Help with delete in Outlook 10....can I undo? | ualdriver | Outlook | 2 | 01-14-2011 07:46 AM |
Undo Delete | jbelorit | Outlook | 0 | 11-22-2010 08:10 AM |
Undo issue | eMEf | PowerPoint | 0 | 07-14-2010 10:56 AM |
Where is the undo command | Codey | Excel | 1 | 06-15-2010 01:10 PM |