View Full Version : Outlook.Application error


rodneyb
08-07-2003, 05:36 PM
I am using Access 97 and there is an error when I try and compile on this code definition:
"Dim ol As New Outlook.Application"

The error is:
"Compile Error: User defined-type not defined"


Does this mean I don't have the required references or libraries to use Outlook? Or is it because I'm using Outlook2000 as opposed to Outlook97?

SilentBreaker
08-07-2003, 07:32 PM
What is the purpose of using the Outlook in MSAccess 97 ?

rodneyb
08-07-2003, 07:34 PM
To create and send emails from Access.

SilentBreaker
08-07-2003, 09:59 PM
Go to http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=52711 and see my reply. This will help you write a line of statement codes that send an email from MS Access. If you 're still not sure, reply me again for further details.

Cheers :)