View Single Post
  #5   Report Post  
Eric Linkugel
 
Posts: n/a
Default

The error says: "Compile error: user-defined type not defined"
The section of code that is highlighted is

"Dim oOutlookApp as Outlook.Application"

"Graham Mayor" wrote:

This is a Word macro (not Outlook). What is the flagged error line when you
debug the code?

--

Graham Mayor - Word MVP

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




Eric Linkugel wrote:
Thanks for the reply. Unfortunately I experienced the same error
message that another user did when running the listed macro. It
doesn't follow through. I created the catalogue, and followed the
directions, but the macro seems to cause a runtime error every time.
The instructions might need a little clarifying. I may be running the
macro from the wrong program, but I tried running it from both the
Outlook macro command and the Word macro command. Both gave me
errors. Are there some steps missing from the instructions to make it
more clear? Have you been able to get this to work? Thanks, -Eric

"Graham Mayor" wrote:

Eric Linkugel wrote:
I am trying to use Word to send emails as a mail merge, and using
contacts from an Excel file. I am not quite sure how to send any
document as an attachment as you would in Outlook. For example, if I
want to add a PDF file as an attachment to the email, how do you do
this in the word mail merge setting?

See the article prepared by fellow MVP Doug Robbins at
http://word.mvps.org/FAQs/MailMerge/...ttachments.htm

--

Graham Mayor - Word MVP

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