![]() |
#9
|
||||
|
||||
![]()
You could either:
• create a FilePrint sub (which intercepts the File|Print command) to update the fields before opening the Print dialogue; or • use Word's DocumentBeforePrint event to update the fields. In either case, the macro could call the Document_Open sub, or you could put the code from that into a separate macro (which you could run via Alt-F8) and also call by both the Document_Open sub and whichever of the others you want. For an overview of using Document events, see: http://word.mvps.org/FAQs/MacrosVBA/AppClassEvents.htm
__________________
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 |