#1   Report Post  
Posted to microsoft.public.word.docmanagement
mdavison
 
Posts: n/a
Default Code for date stamp

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


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman
 
Posts: n/a
Default Code for date stamp

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 FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Tue, 20 Jun 2006 17:12:56 -0400, "mdavison"
wrote:

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

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Charles Kenyon
 
Posts: n/a
Default Code for date stamp

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

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!

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.
"mdavison" wrote in message
...
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




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
mdavison
 
Posts: n/a
Default Code for date stamp

Thank you both!

"mdavison" wrote in message
...
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




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not set column width by code Shaw Tables 1 December 17th 05 07:08 AM
Word Mailmerge does not display a ZIP code beginning with a zero. FredSC Mailmerge 3 August 27th 05 01:07 PM
adding the post code Louise Mailmerge 3 May 4th 05 06:27 PM
UPC BAR CODE davek Microsoft Word Help 4 March 22nd 05 11:16 PM
How do I use the PRINT field code to ... Dave Microsoft Word Help 3 December 13th 04 03:06 PM


All times are GMT +1. The time now is 02:25 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"