How to switch off the undo mechanism

  • Thread starter Alexander Zhuravlev
  • Start date
A

Alexander Zhuravlev

Hi all,

Does anybody know if there is a way to switch off the Undo mechanism?

Thanks,
Alexander Zhuravlev.
 
J

Jonathan West

You can't, but you can clear the undo stack from time to time. Look at the
UndoClear method.
 
H

Helmut Weber

Hi Alexander,
I don't think so and what would it be good for?
However, if you want to prevent the user
from undoing what your macro did,
you may use
ActiveDocument.UndoClear
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top