Sending Outlook 2003 Message from Access 2003

  • Thread starter Thread starter Dave Couch
  • Start date Start date
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
 
You sure you've got Microsoft Outlook 11.0 Object Library selected and not,
say, Microsoft Office 11.0 Object Library?
 
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.
 
Back
Top