View Single Post
  #9   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Chris Stammers
 
Posts: n/a
Default Insert a future date

It stopped the mailmerge working. When we deleted the future date code, the
mailmerge worked with no problems or errors. The mergefields we are using are
pre-determined by our database and although we can use the usual picture
switches - caps/upper etc - we can't modify the data any further. I hope I
haven't missed the point here!

"Graham Mayor" wrote:

What do you mean by 'interferes'? You have to substitute your mergefields
and switches as appropriate - see
http://www.gmayor.com/insert_a_date_...than_today.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Chris Stammers wrote:
Hello,

I am also trying to do this (I need to add 14 days to todays date). I
picked up a long string of code from one of the guys here which works
well on its own however, when used in a mail merge document, the code
interferes with the merge fields and stops them working, so no
letters are produced at all. We are using Word 2000 v9.0. Does anyone
have any experience of this? I should perhaps say that the source
data is coming from an AS400 system rather than a created Excel or
Access file.

Thanks.
Regards,
Chris

"Charles Kenyon" wrote:

This is more complex than you might imagine, but it can be done. See
http://addbalance.com/word/datefields2.htm for information on the
different kinds of ways to make a date calculation work. It includes
links to pages with fields and an explanation of different macros
that can be used instead of fields.

--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Mark Ashley" wrote in message
news This may be a dumb question, but I can't figure out how to get Word
(2003) to
insert a future date. For example, insert the date that is 30 days
from the
current date.

Thanks for any help. I can't believe the time I've spent trying to
figure this out.