![]() |
|
|
|
#1
|
|||
|
|||
|
Quote:
Thank you for the massive effort. I do appreciate it. Apologies for the mistakes on my previous post and bothering you with more problems. In short, what I wanted is to stick a code inside a particular document such that all the fields are updated automatically as I: save, save as, open and print. It would be highly appreciated if your time allows to stick the codes that you have supplied in a particular document (and kindly send it) in the right place (Microsoft word objects, modules, class modules, references) such that I can use it as a master document. I tried to do that but sounds not to work (attached). I to remind you with this thread when you come back! Wish you a nice and safe trip. Take care. Best regards Jamal |
|
#2
|
|||
|
|||
|
Quote:
i got a code from the forum (with autoexec) which is implemented as the file open (attached), in this case, it writes the name and the path of the file on the title bar I'm looking for such code that updates all the fields as we: save, save as, open and print. best Jamal |
|
#3
|
||||
|
||||
|
Hi Jamal,
The code to put a document's name on the title bar is quite different from the code to update fields. They have nothing to do with each other. You asked for a document with all the code in place. See attached. The document is in Word's doc format, but you can save it in docm format if you want. Note: I've modified the code that handles fields in tracked changes, but you may not even need that.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro to update fields | rhatx | Word VBA | 0 | 03-02-2011 12:14 PM |
| VBA to update certain (but not all) fields | sparkyrose | Word VBA | 0 | 05-20-2010 12:50 PM |
| Can no longer update fields! | slindsay | Word | 0 | 09-03-2009 05:10 PM |
| Automatically update text changes in word – Word 2007 | webarnes | Word | 1 | 05-29-2009 02:48 PM |
| Automatically update text changes in Word - how do I do it? | jonrm | Word | 2 | 05-21-2009 08:49 AM |