Fix Date & Time In Header

M

Montserrat

Hi

I want my header to show the date and time that I created the document. But
whether I click date and time on the header/footer toolbar, or type it in
myself, I always have a date and time that changes to keep up with present
time.

How do I fix date and time in the header (or footer).

Rafael
 
E

Elliott Roper

Montserrat said:
Hi

I want my header to show the date and time that I created the document. But
whether I click date and time on the header/footer toolbar, or type it in
myself, I always have a date and time that changes to keep up with present
time.

How do I fix date and time in the header (or footer).

Instead of a DATE field, you need a CREATEDATE field.

For once, the help is useful.

I'm surprised a manually entered date keeps changing. But then Word
alway does surprise me.
 
J

John McGhie [MVP - Word and Word Macintosh]

Rafael:

Try this macro:

Sub InsertDateTime()
'
' InsertDateTime Macro
' Macro recorded 29 May 2005 by John McGhie
'
Selection.InsertDateTime DateTimeFormat:="d MMMM yyyy", InsertAsField:=
_
False
End Sub


It intercepts the Word standard command and inserts the Date as hard text,
which will not change.

If you use the default Insert>Date and Time command, you have to remember to
uncheck the "Update automatically" field each time.

Elliott recommended the CREATEDATE field. This is only good if you always
create a new document. Most people always copy an existing document or
template: it which case, the CREATEDATE property will be copied -- so the
date will not be the date that "this instance" of the document was created,
it will be the date that the original was created. It's a bug :)

Cheers


Hi

I want my header to show the date and time that I created the document. But
whether I click date and time on the header/footer toolbar, or type it in
myself, I always have a date and time that changes to keep up with present
time.

How do I fix date and time in the header (or footer).

Rafael

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 4 1209 1410
 
E

Elliott Roper

Elliott recommended the CREATEDATE field. This is only good if you always
create a new document. Most people always copy an existing document or
template: it which case, the CREATEDATE property will be copied -- so the
date will not be the date that "this instance" of the document was created,
it will be the date that the original was created. It's a bug :)

Yes, and No.
CREATEDATE when butchering another document is of course useless, but a
CREATEDATE in a template works as expected. The .doc ends up with the
date and time of creation of the new doument from the template.
It's a feature :)
v.X. Can't speak for 2004.

(Heh! It made me realise how seldom I start with some-one else's
document, or even an old one of my own. To comment on another current
thread, I'm so paranoid about other muppets' style warpage, even when
working on collaborations, I find myself pasting unformatted into one
of my docs created from one of my own templates before getting down to
serious hackage.)
 
C

Clive Huggan

Yes, and No.
CREATEDATE when butchering another document is of course useless, but a
CREATEDATE in a template works as expected. The .doc ends up with the
date and time of creation of the new doument from the template.
It's a feature :)
v.X. Can't speak for 2004.

(Heh! It made me realise how seldom I start with some-one else's
document, or even an old one of my own. To comment on another current
thread, I'm so paranoid about other muppets' style warpage, even when
working on collaborations, I find myself pasting unformatted into one
of my docs created from one of my own templates before getting down to
serious hackage.)

Now *that* is ascetic, Elliott!

Clive
=====
 
E

Elliott Roper

Clive Huggan said:
Now *that* is ascetic, Elliott!
Yebbut! It works. You only have to do it once per collaboration. How
else do you get rid of styles based on normal style? It is easy to get
a reputation as the one person who cares about styles and typography
and who can keep the paragraph numbers working, Then you are home free!

If I were managing a large work environment, then I would have a rigid
regime for making sure it never got out of control. The closest I ever
got was handing out copies of "Bend Word to Your Will" to anyone that
looked like they had enough brain cells. Which was effective. Once you
have a reasonable population of well formed documents it settles down
nicely (as you well know ;-) )
 
C

Clive Huggan

Yebbut! It works. You only have to do it once per collaboration. How
else do you get rid of styles based on normal style? It is easy to get
a reputation as the one person who cares about styles and typography
and who can keep the paragraph numbers working, Then you are home free!

If I were managing a large work environment, then I would have a rigid
regime for making sure it never got out of control. The closest I ever
got was handing out copies of "Bend Word to Your Will" to anyone that
looked like they had enough brain cells. Which was effective. Once you
have a reasonable population of well formed documents it settles down
nicely (as you well know ;-) )

You're dead right, cela va sans dire. I must say there are so many
advantages -- unless I am only doing a quick review of a document which I'll
never revisit -- that like you, I now invariably do a complete re-assignment
of styles. You probably saw that mentioned in the thread "Has anyone noticed
Word performance improvements with Tiger?" last week.

In several contexts I've been making progress lately with refining a palette
(toolbar) to do all the formatting someone will need in order to format a
particular type of document. The toolbar is easy -- the main problem is
efficiently and quickly training up the user to keep their sticky hands off
the default toolbars, especially for things like bullets and numbering.
However, with the help of some of my colleagues lately I'm making real
progress with the accompanying notes. Last week I prepared a document with
page 1 containing hyperlinks to the "first time" notes and "reminder" notes,
which are at the end of the document. The 3rd hyperlink is to notes on how
to finish the document for publication, including deleting page 1 and the
notes at the back, and attending to a few finishing touches.

Eventually I'll put them in the "Bend Word to Your Will" template -- the
present example there is more complex than it ought to be (but like you, I
have a day job).

I'll keep you posted ;-)

[Loquacious? Jamieson's Run 1996. Mmm.]

Clive
=====
 
J

John McGhie [MVP - Word and Word Macintosh]

Hi Clive:

I'm with Elliott!! I'm a Paste Unformatted kinda guy. I have Paste
Unformatted on the INSERT key (also prevents me going into Overstrike every
hour or two when I hit the wrong key...)

To prevent other users from playing around with the default toolbars, I
simply take them away :) Out of sight, out of mind... The code I just
posted a few minutes ago in another thread is what I use to remove all
toolbars except the ones I want them to use.

I remove from my customised toolbars many of the buttons that provide
excessive temptation for the untrained mind :) In serious cases, I have
been known to DISABLE the toolbars I don't want them using: that way, the
user cannot get them back even if they want them, because they are no longer
visible.

But I try not to do that: I strongly believe that as solution designers we
should never disempower our users. Disembowelling is OK, particularly for
unauthorised changes to styles. But disempowering users simply results in
them fighting us. Since there are more of them than us, the result is a
foregone, if messy, conclusion.

Cheers

Yebbut! It works. You only have to do it once per collaboration. How
else do you get rid of styles based on normal style? It is easy to get
a reputation as the one person who cares about styles and typography
and who can keep the paragraph numbers working, Then you are home free!

If I were managing a large work environment, then I would have a rigid
regime for making sure it never got out of control. The closest I ever
got was handing out copies of "Bend Word to Your Will" to anyone that
looked like they had enough brain cells. Which was effective. Once you
have a reasonable population of well formed documents it settles down
nicely (as you well know ;-) )

You're dead right, cela va sans dire. I must say there are so many
advantages -- unless I am only doing a quick review of a document which I'll
never revisit -- that like you, I now invariably do a complete re-assignment
of styles. You probably saw that mentioned in the thread "Has anyone noticed
Word performance improvements with Tiger?" last week.

In several contexts I've been making progress lately with refining a palette
(toolbar) to do all the formatting someone will need in order to format a
particular type of document. The toolbar is easy -- the main problem is
efficiently and quickly training up the user to keep their sticky hands off
the default toolbars, especially for things like bullets and numbering.
However, with the help of some of my colleagues lately I'm making real
progress with the accompanying notes. Last week I prepared a document with
page 1 containing hyperlinks to the "first time" notes and "reminder" notes,
which are at the end of the document. The 3rd hyperlink is to notes on how
to finish the document for publication, including deleting page 1 and the
notes at the back, and attending to a few finishing touches.

Eventually I'll put them in the "Bend Word to Your Will" template -- the
present example there is more complex than it ought to be (but like you, I
have a day job).

I'll keep you posted ;-)

[Loquacious? Jamieson's Run 1996. Mmm.]

Clive
=====

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 4 1209 1410
 
S

Shawn Larson [MSFT]

Hi

I want my header to show the date and time that I created the document. But
whether I click date and time on the header/footer toolbar, or type it in
myself, I always have a date and time that changes to keep up with present
time.

How do I fix date and time in the header (or footer).

Rafael


Rafael,

The Date button on the Header/Footer toolbar inserts a DATE field into the
header. That field will be updated basically every time the document is
opened.

Two options to get around this, with the first being much easier, but not
nearly as elegant.

1. When in the header, go to the Insert, Date and Time menu, choose the date
format, uncheck ŒUpdate automatically¹, then OK.
2. Add the ŒDate and Time...¹ command to the Header/Footer toolbar via
Tools, Customize, Customize Toolbars/Menus

--
Shawn Larson
M
Mac Word Test

This posting is provided "AS IS" with no warranties, and confers no rights.
Find out everything about Microsoft Mac Newsgroups at:
[http://www.microsoft.com/mac/community/community.aspx?pid=newsgroups]
Check out product updates and news & info at: [http://www.microsoft.com/mac]
 

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