Thread: Mailmerge Date
View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Mailmerge Date

Hi Thomas,

The DATE field ordinarily survives the mailmerge process and remain active in the output document, which can be problematic, since
such fields update to the current date every time you open the document. Conversely, CREATEDATE fields from the mailmerge main
document reflect that document's creation date (not that of the mailmerge output).

To force DATE fields to convert to their results (ie so that they become static dates), reflecting the date on which the merge was
performed, simply embed them in an IF field coded along the lines of:
'{IF TRUE {DATE}}'

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
macropod
[Microsoft MVP - Word]


"Thomas" wrote in message ...
I have a template I created & used in Word 2003. As the mailmerge template
generated a document it would insert the days date in the Createdate field.
At that point I could save the generated document and if I opened it on a
later date it would show the date I generated the document.

I have upgraded to Word 2007 and it no longer works. When I generate a
document now the date inserted is the date the template was created. I have
tested with Createdate, Printdate, Savedate and Date without being able to
achieve the desired results. I have also tried with the "Preserve Formatting
During Updates" checked and unchecked with no luck.

1). Can someone tell me what field I should use to generate a document and
insert todays date?
2). When I save and open this document on a later date, I want to see the
date it was generated?