View Single Post
  #4  
Old January 10th 07, 07:02 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Access.Application Type Undefined

Tools|References in the VBA editor.

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

"Michael Ryle" wrote in message
...
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