Updating Fields

  • Thread starter Thread starter Ross Payne
  • Start date Start date
R

Ross Payne

In Word 2003, I have chosen the option to update fields when printing. I
created a document with some cross references in it, forgot to hit CTRL + A
and then F9, and then I emailed the document to someone. Is there a way to
have the fields update when saving, or do I just have to remember to do it?
Thanks,

Ross Payne
 
When you email it, you really want to unlink those fields if they refer to
anything outside the document.

The following macro, if placed in your document or its template, will update
fields in the body of your document (but not headers/footers).

Sub FileSave()
'
' FileSave Macro
' Saves the active document or template
'
ActiveDocument.Fields.Update
ActiveDocument.Save

End Sub

This won't run, though, when you close the document and save in response to
a prompt. It also won't run when you use File => Save As.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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

Back
Top