![]() |
|
#1
|
||||
|
||||
![]()
I previously advised you that that code would throw an error if there was no TOC in the document - and I supplied code that wouldn't. In any event, it's pointless updating fields upon close, for two reasons at least:
1. It requires a re-save of the document after updating, even if it's already been saved; and 2. Doesn't guarantee that the updated fields will be correct if the document is opened on another PC or even on the same PC with a different active printer.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Jennifer Murphy | Word | 10 | 08-31-2015 08:54 AM |
live update | gilgold | Excel | 0 | 05-26-2010 10:49 AM |
VBA to update certain (but not all) fields | sparkyrose | Word VBA | 0 | 05-20-2010 12:50 PM |
Project Auto-Update | hB-sys | Project | 0 | 04-15-2010 06:46 AM |
MS update failure | kbstinky | Outlook | 0 | 07-18-2009 10:59 AM |