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?