Update Date

  • Thread starter Thread starter SF
  • Start date Start date
S

SF

How do I insert a date field that will update every time the document is
opened?

Someone mentioned a template especially for the document.
But I don't know how to work it so that the date simply updates, rather than
constantly getting inserted so that if I open the document ten times, I have
ten dates written in it.
 
If either the SAVEDATE or PRINTDATE fields will not serve your purpose, then
you will need to use an autoopen macro that updates the fields in the
document

ActiveDocument.PrintPreview
ActiveDocument.ClosePrintPreview

should do it.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
If you put a CreateDate field in your template and create new documents
based on the template, the date will update for each new document. If you
put a Date or Time field in your document or template, it will update each
time the document is opened.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
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.

See http://addbalance.com/word/datefields1.htm for information on the
different kinds of datefields and how to format them.

--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
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.
 
Let me explain my problem a little more clearly:

I have a title page for a novel.
In the upper left corner on 4 separate lines are my name, address, phone.
In the upper right corner on 3 lines are the genre description, word count
and date.

Now, how can I make a template that will update the date field on the 3rd
line down from the upper right hand corner?

Thanks in advance
 
SF,

Use a DATE field with a date picture switch. For example this field will
update with the Day/Date/Time each time the document is opened or fields
updated:

{ Date \@ "DDDD, MMM dd, yyyy HH:mm:ss }

The field delimiters { } are entered with CTRL+F9
 
Word checks the date when you start it. Close and restart Word.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
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.
 
No. It stops whon you close Word. You can have Word running with no document
open.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
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.
 
I see.
Well, what I did was closed everything and re-booted.
But when I open the document, it still shows the old date.
(Honest, I'm not trying to be difficult here. . . . :)
 
Back
Top