Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sending Outlook 2003 Message from Access 2003

0 views
Skip to first unread message

Dave Couch

unread,
Nov 7, 2008, 4:48:10 PM11/7/08
to
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

Douglas J. Steele

unread,
Nov 7, 2008, 4:55:17 PM11/7/08
to
You sure you've got Microsoft Outlook 11.0 Object Library selected and not,
say, Microsoft Office 11.0 Object Library?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Dave Couch" <Dave...@discussions.microsoft.com> wrote in message
news:9F3E91D9-F612-4B41...@microsoft.com...

Dave Couch

unread,
Nov 7, 2008, 5:22:20 PM11/7/08
to
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.
0 new messages