Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Insert merge fields from list in the Subject line
Is it possible to insert a merge field into the subject line?
|
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Insert merge fields from list in the Subject line
It can be done using a modification of the method 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 "TimE" wrote in message news Is it possible to insert a merge field into the subject line? |
#3
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Insert merge fields from list in the Subject line
Thank you Doug.
I think I understand what needs to be done, but I get an error when running the macro. Compile Error: User-defined type not defined Dim oOutlookApp As Outlook.Application From this section of code: Dim Source As Document, Maillist As Document Dim Datarange As Range Dim Counter As Integer, i As Integer Dim bStarted As Boolean Dim oOutlookApp As Outlook.Application Dim oItem As Outlook.MailItem Dim mysubject As String, message As String, title As String Again, thank you for your assistance. "Doug Robbins - Word MVP" wrote: It can be done using a modification of the method 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 "TimE" wrote in message news Is it possible to insert a merge field into the subject line? |
#4
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Insert merge fields from list in the Subject line
That is because you did not follow the instructions and set the reference to
the Outlook Object Library. -- 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 "TimE" wrote in message ... Thank you Doug. I think I understand what needs to be done, but I get an error when running the macro. Compile Error: User-defined type not defined Dim oOutlookApp As Outlook.Application From this section of code: Dim Source As Document, Maillist As Document Dim Datarange As Range Dim Counter As Integer, i As Integer Dim bStarted As Boolean Dim oOutlookApp As Outlook.Application Dim oItem As Outlook.MailItem Dim mysubject As String, message As String, title As String Again, thank you for your assistance. "Doug Robbins - Word MVP" wrote: It can be done using a modification of the method 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 "TimE" wrote in message news Is it possible to insert a merge field into the subject line? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word - to make the final line of a paragraph a different allignmen | Page Layout | |||
Created distribution list but can't insert in"to" line | Microsoft Word Help | |||
Populate Merge Fields via VB.NET | Mailmerge | |||
Can you create a multi-layered merge where certain merge fields a. | Mailmerge | |||
Insert merge fields | Page Layout |