Sending Outlook 2003 Message from Access 2003

D

Dave Couch

I found the code from Frank Rice of Microsoft that details how to setup the
module to send an outlook message from access. I have copied the code and
verified that I have "Microsoft Outlook 11.0 Object Library" in my
references. When I try to run the code, I get an error message on each of
the "Dim" statements.
"Compile Error: User-defined type not defined." The first statement is
"Dim objoutlook As Outlook.Application". Any ideas why this is happening??

Dave
 
D

Douglas J. Steele

You sure you've got Microsoft Outlook 11.0 Object Library selected and not,
say, Microsoft Office 11.0 Object Library?
 
D

Dave Couch

Douglas, I guess it would help if I REALLY read the selection. When I
checked, I had Microsoft Access Object Libray in place. When I went down and
found the Outlook library, everything seemed to work OK. Thanks for the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top