Thread: [Solved] Automatic date updates.
View Single Post
 
Old 01-20-2011, 03:56 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi atrivedi,

I doubt anyone is still waiting on a reply to a post from 2006.

Besides, there's a simpler method:

Press Ctrl-F9 to create a pair of field braces '{ }'
Type 'DATE' between the braces, thus '{DATE}'
Press F9 to update.

You can control the DATE field's formatting via what Word calls a picture switch. Some of the possible date formatting switches include:
. \@ "d MMMM yyyy"
. \@ "dddd, d MMMM yyyy";
. \@ "ddd, d MMMM yyyy";
. \@ "d MMM yyyy";
. \@ "dd/MMM/yyyy";
. \@ "d-MM-yy"
You add these to the field after the 'DATE' string (eg '{DATE \@ "d-MM-yy"}).

Note: you can swap the d, M, y expressions around, but you must use uppercase 'M's for months - lowercase 'm's are for minutes.

If you need to edit the field, simply select it and press Shift-F9 to expose the code.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]

Last edited by macropod; 01-20-2011 at 10:35 PM.
Reply With Quote