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
 
Top