Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Posts
    989
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Undo-ing text data-entry (Word 2000)

    Using the After_Update event for a text box, how can i undo the entry (revert it to the previous text)?? I've tried Application.Undo, txtDate.Undo.. What am I missing?! Thanks, Andy.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Undo-ing text data-entry (Word 2000)

    Same as one of your previous questions: Undo is a method available in Access, not in UserForms. You'll have to keep track of the previous value yourself (in a variable), and restore it if necessary. You can prevent an update by using the Before Update event and setting its Cancel argument to True.

Posting Permissions

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