CREATEDATE field does not change with Save As

N

NancyM

I am using Word 2000. I have a template with the date entered using the
CREATEDATE field. I create a new doc using Save As. The CREATEDATE field
does not change unless I press F9. Is there a way to have the CREATEDATE
field update without the user pressing additional keys.
Any suggestions would be greatly appreciated.
 
F

finalword

I hate to ask, but is this actually saved as a template (.dot) file? Where
is the CREATEDATE field located (header/footer or main doc).

You could try adding an AutoNew macro to your template such as:

Sub AutoNew()

Dim aStory As Range
Dim aField As Field

For Each aStory In ActiveDocument.StoryRanges
For Each aField In aStory.Fields
aField.Update
Next aField
Next aStory

End Sub

This would make sure that all new documents created with the template
updated all the fields.
 
G

Graham Mayor

No - most fields will only update when an update is forced. The simplest
answer is to add an update macro to your toolbar and click it when you have
made any changes - use the sample code at
http://www.gmayor.com/installing_macro.htm

Or you could switch to print preview and back.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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