Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    May 2002
    Location
    Smithfield, Free State, South Africa
    Posts
    210
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Undo - VBA (Word 2000/3)

    Hi again
    What is the VBA code to undo the previous action?
    I tried to record it without success.
    Regards

  2. #2
    3 Star Lounger
    Join Date
    Apr 2004
    Location
    Boston, Massachusetts, USA
    Posts
    389
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Undo - VBA (Word 2000/3)

    <pre>DocumentObject.Undo(times)</pre>


    for example:

    <pre>ActiveDocument.Undo</pre>


    or:

    <pre>Documents("foo.doc").Undo 2</pre>


    You can find more info in the VBA help files (just do a search for "Undo")

  3. #3
    3 Star Lounger
    Join Date
    May 2002
    Location
    Smithfield, Free State, South Africa
    Posts
    210
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Undo - VBA (Word 2000/3)

    Thanks so much for your help.
    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •