Undo command?

M

mike

In the "Immediate" Area, I set the deletedtextmark =
wdeletedtextmarkhidden and now I'd like to know how to
undo what I did but have no idea where to delete this
command. Help?
 
P

Peter Hewett

Hi mike

Check out ActiveDocument.Undo n. Where n is the number of operations you want to undo.
There's also ActiveDocument.UndoClear to clear the undo buffer.

HTH + Cheers - Peter
 
J

Jay Freedman

mike said:
In the "Immediate" Area, I set the deletedtextmark =
wdeletedtextmarkhidden and now I'd like to know how to
undo what I did but have no idea where to delete this
command. Help?

Just change it to any of the other values listed in the Help topic for the
DeletedTextMark property, for example

Options.DeletedTextMark = wdDeletedTextMarkStrikeThrough
 

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