Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
richard richard is offline
external usenet poster
 
Posts: 1
Default Insert date field into merge-query options-compare to

I am merging to an excel spreadsheet that has dates for reports
arriving here by project. I have several merge documents that I create
and distribute listing what has arrived each day by several different
criteria including todays date. Is there a way using a macro to update
the "Compare to" (tools-mail merge-merge-Filter Records-Compare to) to
the current date. I usually have 3 or 4 and or choices that "Compare
to" whatever is Todays Date.

Thanks in advance!



  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Insert date field into merge-query options-compare to

Hi Richard,

I am merging to an excel spreadsheet that has dates for reports
arriving here by project. I have several merge documents that I create
and distribute listing what has arrived each day by several different
criteria including todays date. Is there a way using a macro to update
the "Compare to" (tools-mail merge-merge-Filter Records-Compare to) to
the current date. I usually have 3 or 4 and or choices that "Compare
to" whatever is Todays Date.

It always helps to mention which version of Word is involved. Especially
with mail merge, that changed radically a few years ago. Is this 2000 or
97?

In any case, there's no way to set "today" in the user interface. You
could probably use macro code to change the underlying query the UI
generates. But if you have other criteria you'd need to set all of them
at the same time. Not impossible, but we'd need more information to show
you how to do it (including some field names and sample values).

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with Field Codes Rhino New Users 16 June 19th 06 06:06 AM
Mail Merge document and Date field niv Mailmerge 3 November 22nd 05 08:50 PM
How do I lock date field so it is not updated after merge? Dennis Mailmerge 1 July 7th 05 06:53 PM
Date Field in Merge Document Karen Hart Mailmerge 35 March 29th 05 12:38 PM
Printing "Insert Date" Field - Wit's End Bean_Online Microsoft Word Help 1 January 28th 05 08:33 PM


All times are GMT +1. The time now is 07:53 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"