Code for date stamp

M

mdavison

I want to save a word template with code in the footer to date stamp with
the current date when a new doc is created from the template. But I want to
keep that original creation date static - not update on each open. I thought
it would be this:
{ DATE \@ "m/d/yyyy" }
But I have discovered via testing I am wrong.
Help? I'm not very savvy with code and programming.
Thx,
-Monica
 
J

Jay Freedman

You're close. :) In the field code, change DATE to CREATEDATE and
update the field.

In the template itself, the CREATEDATE field will show the date the
template itself was created. In documents based on the template, it
will show the date the document was created.

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

Jay Freedman

You're close. :) In the field code, change DATE to CREATEDATE and
update the field.

In the template itself, the CREATEDATE field will show the date the
template itself was created. In documents based on the template, it
will show the date the document was created.

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

Charles Kenyon

You are using a DATE field rather than a CREATEDATE field. This field should
be put in the original template if possible (instead of inserting using the
keyboard shortcut or header/footer toolbar button).

In the document in question, press Alt-F9 to display field codes. Then
change the field to a CREATEDATE field, press F9 and then Alt-F9.

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



My criminal defense lawyer site: http://addbalance.com.
--------- --------- --------- --------- --------- ---------
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.
 
C

Charles Kenyon

You are using a DATE field rather than a CREATEDATE field. This field should
be put in the original template if possible (instead of inserting using the
keyboard shortcut or header/footer toolbar button).

In the document in question, press Alt-F9 to display field codes. Then
change the field to a CREATEDATE field, press F9 and then Alt-F9.

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



My criminal defense lawyer site: http://addbalance.com.
--------- --------- --------- --------- --------- ---------
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

Top