Word 2007 form fields unprotect document via VBA clears all fields but not in Word 2002 version

Posted by Shabbazz on Stack Overflow See other posts from Stack Overflow or by Shabbazz
Published on 2009-12-01T03:40:47Z Indexed on 2010/03/25 20:03 UTC
Read the original article Hit count: 332

Filed under:
|

I have VBA code that prints a word document generated from a word template with form fields and then has to unprotect it to change the header and print the doc again. When I unprotect the doc to change the content of the header all form fields are cleared. But: When I use a Word 2002 doc that just got saved as the 2007 dotm format everything works fine.

© Stack Overflow or respective owner

Related posts about msword

Related posts about word-vba