will save any changes the user may have made to the template before the code
was run without asking (as well as any changes made by other dirty Add-Ins).
Undoing the changes and marking the template as saved will avoid that, but
will then not save any user-made changes or prompt for those either.
Possibly getting the saved status before running the code then restoring
that status after undoing the changes would come closest to clean code. Just
some thought from a non-expert.
Word New User FAQ & Web Directory: http://www.yqcomputer.com/
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://www.yqcomputer.com/
See also the MVP FAQ: http://www.yqcomputer.com/
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
template. This in