Reply
 
Thread Tools Display Modes
  #1   Report Post  
sayling
 
Posts: n/a
Default Automated merge from Word 2000 to Outlook 2000

I've perused a large number of the posts to this newsgroup for a while,
lurking around and grabbing lots of helpful snippets, but I wonder if anyone
can help witha specific issue I have, that seems to almost be solved by many
of the answers to some of the topics posted, please?

Specifically, I have a PC that is always on and gets a file created from
another program. It is a tab delimited text file that gets used as the source
doc for the mail merge. The Task Scheduler is set to run (at 2.00 AM) the
following:

"C:\Program Files\Microsoft Office\Office\WINWORD.EXE" /mmacro3

Macro3 basically opens up the mail merge document, merges to email with the
source, then shuts word down.

But, as previously stated elsewhere, the mail subject can only get set to a
single value using this method. Ideally, I would like it to be set to a
string, on the basis of:

Site Visit Report yyyymmdd Task Client

where the date, task and client are all variables within each record in the
source.

Now it occurs to me that, if the email subject is not predefined in the
macro that launches the mail merge, it would pick up the name of the document
by default as the subject, which is fine, but then the problem is that the
document name doesn't change with each email. So the next step would seem to
be to merge to separate documents, for which the 'splitter' macro seems
ideal, but I'd then need to automatically (on completion of the initial mail
- split documents) email the various split documents, and probably delete
the split documents after they have been emailed. Otherwise I will end up
with an ever-increasing folder and I expect it may be more complicated to
just email those that are new since the last merge-'n'-mail.

To complicate things even further, sometimes the source file is empty, and
the whole thing locks up on launching Word (unable to find source records -
though the file always exists), so whatever solution someone can come up with
would be even better if it could include some form of 'don't execute if there
are no records in xxxx.txt

Really, really hoping someone can help and thanks in advance

Simon
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
mail merge - Access 2000 and Word 2000 DawnMKA Mailmerge 1 March 26th 05 11:20 AM
Wordperfect Office 2000 conversion to Word 2003 MikeE New Users 1 March 21st 05 12:04 AM
letters - ask/fillin Caroline H New Users 2 February 25th 05 08:19 PM
Specific Email Merge w/ Specific Attachements Mark B Mailmerge 9 February 21st 05 05:10 AM
how can you create quickwords in MS Office Word 2003 Christine S Microsoft Word Help 4 February 8th 05 03:01 PM


All times are GMT +1. The time now is 08:49 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"