View Single Post
  #3  
Old January 10th 07, 06:25 PM posted to microsoft.public.outlook.program_vba
Michael Ryle
external usenet poster
 
Posts: 6
Default Access.Application Type Undefined

No. How do you do that? Actually I copied this code from another machine
where it works under the same release of Outlook and Access.

"Dmitry Streblechenko" wrote:

Did you add Access to your project refrences?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Michael Ryle" wrote in message
news
I'm trying to access MS Acess from Outlook, both 2003.

When the following bit of code runs:

Dim appAccess As Access.Application

I get the message

Compile error: user-defined type not defined.

Anyone know what's going on? Thanks.




Ads