I am trying to conect my db to Outlook. The code I want to use begins with:
Dim objOutlook As outlook.application
If I try to run the code, I recive "Compile error: User-defined type not defined"
I guess Outlook.Application is built in feature. I presume that when I type "As" I should find the word Outlook in the drop-down list. Well, I don't. After typing above-mentioned line and pressing "enter", the word application changes to Application (capital A) while outlook stays with small first letter o. I am using MS Office 2003. What is wrong? Is my prosumption that Outlook is built-in feature wrong, or my software does not support it for some reason?
Thanks!!!
Dim objOutlook As outlook.application
If I try to run the code, I recive "Compile error: User-defined type not defined"
I guess Outlook.Application is built in feature. I presume that when I type "As" I should find the word Outlook in the drop-down list. Well, I don't. After typing above-mentioned line and pressing "enter", the word application changes to Application (capital A) while outlook stays with small first letter o. I am using MS Office 2003. What is wrong? Is my prosumption that Outlook is built-in feature wrong, or my software does not support it for some reason?
Thanks!!!