![]() |
|
#1
|
||||
|
||||
![]()
Assuming the field is in the body of the document, the macro is nothing more than:
Code:
Private Sub Document_Open() ThisDocument.Fields.Update End Sub And yes, all users would need to have Word configured appropriately. For Word to be able to run macros, go to Word Options|Trust Centre>Trust Center Settings and select the 'Disable all macros with notification' option. That will cause Word to ask for permission before allowing macros in a document to run. This setting applies to all documents, except those opened from what Word 2007 & later call 'trusted publishers, 'trusted locations' and trusted documents' (none of which generate the prompt). The dialoge box that opens when you clicked on 'Trust Center Settings' has entries for these as well, but you probably don't need to worry about any of their settings.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Thanks for your help, the macro worked perfectly on my end, I still need to test out the document after I upload it to confirm it works correctly for all my users.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ketanco | Project | 1 | 02-08-2012 02:20 PM |
Set calendar alarm x days before end date | el_ja | Outlook | 2 | 01-19-2012 10:09 AM |
30+ days Variable Day Date Calculations via Fields | ztag | Word | 2 | 01-06-2012 11:12 AM |
![]() |
KIM SOLIS | Excel | 2 | 11-04-2011 06:09 PM |
Creating an Auto-Calc'd Date? Today+7 Days? | SoCalTelephone | Word | 0 | 10-06-2010 10:27 AM |