Using SAVEDATE field

A

athletico

Hi -

I'm relatively new to MS Word 97. I'm trying to use the SAVEDATE fiel
on shared documents so that users who open it up know when the file wa
last saved. Printing is not an issue at all -- these documents ar
usually viewed on-screen, not printed.

According the MVP FAQ:
Another useful field is the { SAVEDATE } field, which records when th
document was last saved. If your document contains information that i
frequently updated and you want it to carry a revision date, this i
the one to use.
<<<

My question is this: I must be missing something, because when I mak
a change to a document and re-open it I don't see the edittime chang
unless I manually perform Update Field on this field. I really nee
this to be automatic somehow. Do I need to script this in VBA, t
update the field on the Document Open event?

Many thanks in advance,

Bra
 
M

Margaret Aldis

No, You're not missing something, MS Word is ;-)

You are right that the best way to handle this is via VBA. The statement

ActiveDocument.Fields.Update

will do the job provided the field is in the main body of the text (since
you say these are on-screen documents, I'm assuming the field is not in the
header or footer, but if it is, you can force an update by swapping the view
to PrintPreview).

For more information, see

http://www.word.mvps.org/FAQs/MacrosVBA/DocumentEvents.htm
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm
 
S

Suzanne S. Barnhill

And note (from the author) that the FAQ was written from the viewpoint of a
creator of printed documents. Since these fields are updated at print time,
updating is not an issue.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Margaret Aldis said:
No, You're not missing something, MS Word is ;-)

You are right that the best way to handle this is via VBA. The statement

ActiveDocument.Fields.Update

will do the job provided the field is in the main body of the text (since
you say these are on-screen documents, I'm assuming the field is not in the
header or footer, but if it is, you can force an update by swapping the view
to PrintPreview).

For more information, see

http://www.word.mvps.org/FAQs/MacrosVBA/DocumentEvents.htm
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm
 

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