Save|Restore Undo History?

C

Clyde

I have many form letter templates with formfields and
protected for forms. A macro assigned to a custom toolbar
in these templates accesses a shared network drive. The
macro necessarily unprotects the document based on the
template (noreset:=True), presents the built-in Insert
dialog, and allows the User to select a read-only text
file to be inserted into the form field that currently has
focus. Lastly, the document is reprotected for forms.
Herein lies my problem: Because of the unprotect-protect
actions, the Undo history is wiped out after the (each)
insertion!? QUESTION: Is there some VBA code that will
save the Undo history, or copy and restore it to the
active document? If not, is there some way to code around
the unprotect-protect to prevent the loss of Undo history?
 
W

Word Heretic

G'day "Clyde" <[email protected]>,

Are you using the Reset parm on the re-protect? Even so, I doubt there
is much you can do.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Clyde reckoned:
 

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