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?

Re: Undo command? by Jezebel

Jezebel
Fri Aug 27 10:01:44 CDT 2004

You can't. VBA commands themselves aren't added to the undo list.



"mike" <anonymous@discussions.microsoft.com> wrote in message
news:143201c48c3a$701431e0$a601280a@phx.gbl...
> 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?
>



Re: Undo command? by Peter

Peter
Fri Aug 27 10:23:35 CDT 2004

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


"mike" <anonymous@discussions.microsoft.com>, 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?


Re: Undo command? by Jay

Jay
Fri Aug 27 11:01:51 CDT 2004

mike wrote:
> 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

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org