Thread: undo in code
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
lrisser lrisser is offline
external usenet poster
 
Posts: 1
Default undo in code

I've written a function that validates whether data entry
into a cell matches a list of approved entries, and brings
up a message box to tell the user of an invalid entry. I
would also like the code to undo the last entry. I've
tried using sendkeys "^Z" but that doesn't seem to do it.
Any suggestions.

thanks in advance.