Solved

How to set static create date in header of MS Word 2003 template?

Posted on 2010-09-01
4
374 Views
Last Modified: 2012-05-10
I am writing daily logs at work and the boss wants me to log in the date and time of each entry. I have created a template and inserted the date and time into the header. The goal is to open the same template with the current date and time stamp, create the daily log, and save it as the daily log document for that day.

If I choose not to update the date automatically In the template, the date doesn't change so I have to go in every time and change it.

It works perfectly when I choose automatically update in the template. But when the boss goes into to review the daily log document, the date time stamp changes  every time the document is opened.

How can I effectively insert the create date of the log into the header of a Word 2003 template so the date changes when the new document is saved off the template, but the date doesn't change when the document is reopened at a later time?
0
Comment
Question by:walcottwhiz
4 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 33579139
Give your boss read only access to the documents.  Set it to Auto (as you had previously) and only open them once to make the change and save.Otherwise, you do not set it to Auto and when you need it updated then right click it and select update.
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 33579143
Use a CreateDate field. Each new document created from the template will have its own fixed date.
0
 
LVL 8

Expert Comment

by:PandaPants
ID: 33579248
You could set up the template with a bookmark indicating where the date should be, then include code like this in the Document_New() macro for the template:

' Select the bookmark, then:    
Selection.InsertDateTime InsertAsField:=False

That will place the current date into the doc as text, so it won't change after the document is created.
0
 

Author Closing Comment

by:walcottwhiz
ID: 33579645
Of all submitted responses, this is exactly what I was looking for, thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a feature provided by MS Word that lets you create an Table of Contents for your Word document automatically. To use this feature for other documents there are two steps involved,   1.  Prepare your document for a table of contents (he…
I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now