Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
BenS BenS is offline
external usenet poster
 
Posts: 4
Default Inserting a merge field in subject line of an email

When creating a mail merge for emails, is it possible to insert a merge field
in the subject line?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Inserting a merge field in subject line of an email

You cannot do it with email "out-of-the-box" It can however be done if you
make use of the Outlook Object Model and a technique similar to that in the
article "Mail Merge to E-mail with Attachments" at:

http://word.mvps.org/FAQs/MailMerge/...ttachments.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"BenS" wrote in message
news
When creating a mail merge for emails, is it possible to insert a merge
field
in the subject line?



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
BenS BenS is offline
external usenet poster
 
Posts: 4
Default Inserting a merge field in subject line of an email

Hi Doug,

I went to the article you wrote and this is exactly what I need as well -
attaching individual attachments to individual mail using mail merge.

However when I copied your script and tried to run it, it came up with a
message saying: 'Compile error: User-defined type not defined'.

I dont know programming so I'm not sure how to fix this issue. Could you
help me out with this?

Also how do i utilise this script to create a merge field in the subject
line of an email mail merge?

I'm currently running WinXP and office 2003

Thanks

Ben

"Doug Robbins - Word MVP" wrote:

You cannot do it with email "out-of-the-box" It can however be done if you
make use of the Outlook Object Model and a technique similar to that in the
article "Mail Merge to E-mail with Attachments" at:

http://word.mvps.org/FAQs/MailMerge/...ttachments.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"BenS" wrote in message
news
When creating a mail merge for emails, is it possible to insert a merge
field
in the subject line?




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Inserting a merge field in subject line of an email

You have not followed the instructions in the Preparations part of the
article. Specifically, you have not set the reference to the Outlook Object
Library.

You must follow the instructions excatly to the letter, otherwise it will
not work.

I am not sure what you mean by "create a merge field in the subject line of
an email mail merge"

But if you want a different subject line for each message based on the
content of a mergefield in the datasource, you should include that
mergefield in the catalog (or directory) mail merge that is created as part
of the process and retrieve the contents of that field in the same way as
the contents of the other fields are retrieved.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"BenS" wrote in message
...
Hi Doug,

I went to the article you wrote and this is exactly what I need as well -
attaching individual attachments to individual mail using mail merge.

However when I copied your script and tried to run it, it came up with a
message saying: 'Compile error: User-defined type not defined'.

I dont know programming so I'm not sure how to fix this issue. Could you
help me out with this?

Also how do i utilise this script to create a merge field in the subject
line of an email mail merge?

I'm currently running WinXP and office 2003

Thanks

Ben

"Doug Robbins - Word MVP" wrote:

You cannot do it with email "out-of-the-box" It can however be done if
you
make use of the Outlook Object Model and a technique similar to that in
the
article "Mail Merge to E-mail with Attachments" at:

http://word.mvps.org/FAQs/MailMerge/...ttachments.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"BenS" wrote in message
news
When creating a mail merge for emails, is it possible to insert a merge
field
in the subject line?






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
How do I insert a merge field in subject line Sherry Mailmerge 1 October 22nd 07 10:13 PM
How to save email address and subject line in Word's email functio Chittapoo Microsoft Word Help 0 February 2nd 07 08:46 PM
How do I insert a field into the subject box for each email when . morbitzer Mailmerge 3 July 7th 06 01:14 AM
how do i send a mailmerge email using a merge field as subject? emitecaps Mailmerge 3 June 15th 05 04:35 PM
setting the subject line in Word2003 when sending as email yaelede Microsoft Word Help 0 March 6th 05 11:29 PM


All times are GMT +1. The time now is 07:03 PM.

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"