Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to auto-update REF fields if related ASK field bookmark is upd
Have setup ASK fields and related REF fields with corresponding bookmarks.
When the ASK field is updated and bookmark contents are changed, I find that the REF field values do not automatically update except if updated individually. Is there a way to make the REF fields automatically change when the bookmark changes without using macros? The Microsoft command, UPDATEFIELDS seems to work but you must first highlight the document to include all of the REF fields. Auto-updates of REF fields would seem to be a typical application without resorting to macros in order to correct errors, template changes, etc. Any suggestions? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to auto-update REF fields if related ASK field bookmark is upd
Well, Word has a built-in option to update fields on print, but it may not be
what you want, since it also triggers an update of the ASK field itself. Instead, you can switch to Print Preview and back (by pressing Ctrl+F2 twice); this will force an update of REF fields (and certain other fields, such as SEQ fields). A third option is to use a macro that updates the REF fields. This can be done in several different ways. Personally I'd prefer to update the fields prior to printing the document, for example, by intercepting the FilePrint and FilePrintDefault commands. Put these macros in an add-in, or in normal.dot: Sub FilePrint() Application.PrintPreview = True ActiveDocument.ClosePrintPreview Dialogs(wdDialogFilePrint).Show End Sub Sub FilePrintDefault() Application.PrintPreview = True ActiveDocument.ClosePrintPreview ActiveDocument.PrintOut End Sub For assistance, see http://www.gmayor.com/installing_macro.htm. -- Stefan Blom Microsoft Word MVP "DENCAS44" wrote: Have setup ASK fields and related REF fields with corresponding bookmarks. When the ASK field is updated and bookmark contents are changed, I find that the REF field values do not automatically update except if updated individually. Is there a way to make the REF fields automatically change when the bookmark changes without using macros? The Microsoft command, UPDATEFIELDS seems to work but you must first highlight the document to include all of the REF fields. Auto-updates of REF fields would seem to be a typical application without resorting to macros in order to correct errors, template changes, etc. Any suggestions? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Auto Update of formula fields | Microsoft Word Help | |||
Why field will not auto update | Microsoft Word Help | |||
Prevent Auto Update on Fields when opening document | Microsoft Word Help | |||
auto update field | New Users | |||
Attempting to auto-update fields in a word document | Microsoft Word Help |