The following forum(s) have migrated to Microsoft Q&A: Word for Developers! Visit Microsoft Q&A to post new questions.
can I avoid adding item to undo list. or remove item from undo list
I need avoid user undoing
the changes to document made from my vba or VSTO code
dddd
The VBA command for this is:
ActiveDocument.UndoClear
Kind Regards, Rich ... http://greatcirclelearning.com
thanks.
But this removes all the undo list. I need to remove only single item from undo lsit
Well then ...
ActiveDocument.Undo(1)
That removes just the last action.