Update field within a text box

C

Compass Rose

I'm using Word 2007.

I created a template with a REF field in a text box that refers back to a
bookmark created with an ASK field earlier in the document. When I create a
new document using this template, all of the ASK and FILLIN prompts come up,
but the REF field in the text box does not update automatically. If I click
in the text box and hit F9, it will update, but I would like it done
automatically. Is this possible?

TIA
David
 
J

Jay Freedman

No, even Ref fields that aren't in text boxes don't update
automatically.

You can go to Print Preview and back to update all the Ref fields in
the document at once, including ones in text boxes, header/footers,
etc. (This assumes you have the option to update fields on printing
turned on.) If you want a Quick Access Toolbar button to do this with
one click, install this little macro in Normal.dotm and then customize
the Quick Access Toolbar to add a button to run the macro
(http://www.gmayor.com/installing_macro.htm):

Sub UpdateAllFields()
With ActiveDocument
.PrintPreview
.ClosePrintPreview
End With
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
C

Compass Rose

Thanks for your help, Jay. I incorporated your suggestion into an Autonew
macro which selects the whole document, updates all the fields and then does
the Print Preview, which does the trick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top