
Signature
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
Hi Doug
Not sure you got my reply yesterday so here goes. I have still had no luck.
This is exactly what I do, step by step.
I have my letter in word (Let 1) and my data source in excel (data 1)
In Word I have opened a new doc, I then mail merge – chose directory – used
the current doc – selected recipients – included attachments – executed the
mail merge to a new doc – saved it (gail1) and closed it.
I then. opened the letter (Let 1) I want to send out by email with the
attachments, mailmerge – email message – current doc – selected my data
source (data 1) – included my address block and greeting line – preview email
messaging – executed the mail merge to a new doc – made sure that Microsoft
Office Outlook 11.0 Object Library is selected – ran the macro (which I
copied and pasted).
The following error message: “Compile error: user-defined type not defined”
appears and the line “Dim oOutlookApp As Outlook.Application” in the macro is
highlighted.
Hope you can help.
GVP
> The article goes into quite a bit of detail about how the catalog (or in XP
> and later, it is called directory) type mailmerge document is set up.
[quoted text clipped - 22 lines]
> >> >> > way, and execute the mail merge, however it does not send the
> >> >> > attachements. Can anyone help?
Doug Robbins - Word MVP - 02 Aug 2006 18:26 GMT
I posted the following response to your message in another thread yesterday.
You should keep to the one thread so that it is easier to find the
responses.
I don't really know what is causing the reference to be ignored. It is the
first time that I have heard of it happening. In the References dialog in
the Visual Basic Editor, when the Microsoft Office Outlook 11.0 Object
Library is selected, what appears in the lower section of the dialog where
the location of the file is shown?

Signature
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
> Hi Doug
>
[quoted text clipped - 61 lines]
>> >> >> > way, and execute the mail merge, however it does not send the
>> >> >> > attachements. Can anyone help?
Gail - 03 Aug 2006 15:25 GMT
Location: C:\Program Files\Common Files\Microsoft Shared\Office 11\M
Language: Standard

Signature
GVP
> I posted the following response to your message in another thread yesterday.
> You should keep to the one thread so that it is easier to find the
[quoted text clipped - 71 lines]
> >> >> >> > way, and execute the mail merge, however it does not send the
> >> >> >> > attachements. Can anyone help?
Doug Robbins - Word MVP - 03 Aug 2006 20:08 GMT
Is this
Location: C:\Program Files\Common Files\Microsoft Shared\Office 11\M
all there is?
It should be
Location: C:\Program Files\Common Files\Microsoft Shared\Office
11\msoutl.olb

Signature
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
> Location: C:\Program Files\Common Files\Microsoft Shared\Office 11\M
>
[quoted text clipped - 83 lines]
>> >> >> >> > way, and execute the mail merge, however it does not send the
>> >> >> >> > attachements. Can anyone help?
Gail - 04 Aug 2006 08:29 GMT
Yes

Signature
GVP
> Is this
>
[quoted text clipped - 94 lines]
> >> >> >> >> > way, and execute the mail merge, however it does not send the
> >> >> >> >> > attachements. Can anyone help?
Doug Robbins - Word MVP - 04 Aug 2006 21:24 GMT
I gather from your response that you are saying that
Location: C:\Program Files\Common Files\Microsoft Shared\Office 11\M
is all there is.
If that is the case, I think that you will need to repair the installation
of Office using the Add/Remove Programs application in the Control Panel.

Signature
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
> Yes
>
[quoted text clipped - 110 lines]
>> >> >> >> >> > the
>> >> >> >> >> > attachements. Can anyone help?