-
I tried the undo method suggested in another thread, but it doesn't seem to work for me. This is how it went:
Text1.SetFocus
SendKeys "^z", True
When I try it, I get an error. To be exact, I get:
Run-time Error '28':
Out of stack space.
Is there another approach?
-
Your code as shown works for me, and the Out of stack space error usually means you are in a loop, so there must be othet code involved that you didn't show.
-
Boy, is my face red!!!
My problem wasn't the code, but the fact that I had the menu item setup with a shortcut of CTRL + Z... It just kept looping throught that.
Thanks for the help.