Thread: [Solved] Sequential Dates in Word
View Single Post
 
Old 02-03-2011, 03:54 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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 Neil,

To see how to do this and just about everything else you might want to do with dates in Word, check out my Microsoft Word Date Calculation Tutorial, at:
http://lounge.windowssecrets.com/index.php?showtopic=249902
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the item titled 'Calculate a Date Sequence'. Do read the document's introductory material.

For the first field in that example, you'll need to change the coding to:
{QUOTE{ASK StartDate "What is the Start date?"} {REF StartDate \@ "dddd, d MMMM yyyy"}}
For the second field, you'll need to replace the four 'DATE' strings with 'StartDate'. The remaining fields can be used as they are - though you might want to change the date formatting on all the fields.

Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote