Results 1 to 2 of 2
2002-10-18, 08:39 #1
- Join Date
- Jul 2001
- ASKER, Norway
- Thanked 0 Times in 0 Posts
Automaticaly update Field codes in header (Office XP, Word 2002 SP-2)
I have a file with header and footer containing Field codes Title and Category. These can be edited in the File/Properties Summary dialog box. So far so good!
(The file also contains macros for inserting Bookmarks.) The content of the field codes will not change when I close and opens the document again. I have to open the header, mark the field code, rightckick and click Update Field.
How can I get Word to update these field codes automatically in the open document? It is possible to set Update fields in the Options dialog box/Print tab. But this only happens when the document is printed.
I need to get these fields updated when I open the document and preferably also when the document is open(active) in Word. Can it be done by a vba code?
This works OK with Office 2000: the content of the field code changes when I close and open the document again. But I cannot get it working in Office XP.
Thanks a lot in advance
2002-10-18, 09:10 #2
- Join Date
- Nov 2001
- Thanked 7 Times in 7 Posts