Solved

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

Posted on 2010-09-01
4
373 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
Comment Utility
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
Comment Utility
Use a CreateDate field. Each new document created from the template will have its own fixed date.
0
 
LVL 8

Expert Comment

by:PandaPants
Comment Utility
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
Comment Utility
Of all submitted responses, this is exactly what I was looking for, thank you.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

744 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

16 Experts available now in Live!

Get 1:1 Help Now