Thread: Compile error?
View Single Post
  #1  
Old April 23rd 08, 02:43 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Compile error?

Please provide detailed information on what "the same problem" means exactly, including your Outlook version, what statement triggers the error, etc.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Elaine Eardley" Elaine wrote in message ...


"Sue Mosher [MVP-Outlook]" wrote:

Use the Tools | References command to add a reference to the Microsoft Outlook library.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Cam" wrote in message news
Hello,

I have a macro to send out an attachment from Outlook.
But when I ran the macro, it gave me this error. What is this error and how
can I fix it. Thanks

Compile error:
User-defined type not defined

An the error code seem to point to my first line of the code.

Dim objOutlook As Outlook.Application
Dim objOutlookRecip As Outlook.Recipient
Dim path As String


Having the same problem as the user above - resolution offered still not
working, can you help?

Ads