I'm creating a multi-page document template that involves multiple
form-fields for user-input and a table of contents. After filling in all of
the form-fields, I go to update the table of contents (to compensate for any
additional pages created by the text inserted into the form fields). When I
click update/F9, all of my form-fields reset, eliminating all of the text
inserted into the form fields. I've found multiple topics that discuss
problems in Word 97-00 with Protecting/Unprotecting the document forcing
form-fields to reset, but nothing concerning updating the TOC forcing the
form-fields to reset. Has anyone come across this problem before? Thanks!
Russ - 25 Aug 2007 10:21 GMT
Steven,
Will this code leave your form fields alone?
ActiveDocument.TablesOfContents(1).UpdatePageNumbers
> I'm creating a multi-page document template that involves multiple
> form-fields for user-input and a table of contents. After filling in all of
[quoted text clipped - 5 lines]
> form-fields to reset, but nothing concerning updating the TOC forcing the
> form-fields to reset. Has anyone come across this problem before? Thanks!

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
Steven - 25 Aug 2007 15:44 GMT
excellent! Thanks a mil
> Steven,
> Will this code leave your form fields alone?
[quoted text clipped - 9 lines]
> > form-fields to reset, but nothing concerning updating the TOC forcing the
> > form-fields to reset. Has anyone come across this problem before? Thanks!