field code: lastsavedby

G

Guest

I'm using two lastsavedby field codes: one in my footer and one in the body
of the text.

I want both to automatically update upon saving the file, not printing the
doc.

I note that the lastsavedby fields behave differently. The one in the footer
updates when I print (or print preview) the doc. However, the lastsavedby
field in the body doesn't update until I manually update it (by pressing F9
or right-clicking the field and selecting Update Field).

Can anybody help make the the lastsavedby field update automically upon
saving the doc?
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?S2ltbWllIEI=?=,
I'm using two lastsavedby field codes: one in my footer and one in the body
of the text.

I want both to automatically update upon saving the file, not printing the
doc.

I note that the lastsavedby fields behave differently. The one in the footer
updates when I print (or print preview) the doc. However, the lastsavedby
field in the body doesn't update until I manually update it (by pressing F9
or right-clicking the field and selecting Update Field).

Can anybody help make the the lastsavedby field update automically upon
saving the doc?
You'd need to use a macro, one named FileSave, to force the field updates.
Example:
Sub FileSave()
ActiveDocument.Fields.Update
ActiveDocument.Save
End Sub

There used to be a KB article explaining why and how this worked, but it looks
as if it's been withdrawn...

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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

Similar Threads


Top