Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
DENCAS44 DENCAS44 is offline
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Update of formula fields Maria Microsoft Word Help 1 October 3rd 07 05:42 AM
Why field will not auto update Fi Microsoft Word Help 2 July 16th 07 05:04 PM
Prevent Auto Update on Fields when opening document emom Microsoft Word Help 2 October 10th 06 01:29 PM
auto update field Shaolin New Users 1 March 11th 05 12:42 AM
Attempting to auto-update fields in a word document Sanin R Microsoft Word Help 1 January 7th 05 06:39 PM


All times are GMT +1. The time now is 03:45 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"