Okay folks....it feels like a Friday and I am really having a hard time today.
Scenario:
Access 97 - Outlook 98
Need to send an email with an attachment.
To address is known and is available as a variable.
Attachment location is known and available as a variable.
Problem:
The following code string:
Dim objOutlook As Outlook.Application
Dim objEmail As Outlook.MailItem
Set objOutlook = CreateObject("Outlook.Application"
Set objEmail = objOutlook.CreateItem(olMailItem)
produces a run-time error '13' Type Mismatch error on the
Set objOutlook = CreateObject("Outlook.Application"
line...
I need to correct this error and get this working. Any help appreciated. Thanks.
****************************
Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former. (Albert Einstein)
Robert L. Johnson III
MCSA, CNA, MCP, Network+, A+
w: robert.l.johnson.iii@citigroup.com
h: wildmage@tampabay.rr.com
Scenario:
Access 97 - Outlook 98
Need to send an email with an attachment.
To address is known and is available as a variable.
Attachment location is known and available as a variable.
Problem:
The following code string:
Dim objOutlook As Outlook.Application
Dim objEmail As Outlook.MailItem
Set objOutlook = CreateObject("Outlook.Application"
Set objEmail = objOutlook.CreateItem(olMailItem)
produces a run-time error '13' Type Mismatch error on the
Set objOutlook = CreateObject("Outlook.Application"
line...
I need to correct this error and get this working. Any help appreciated. Thanks.
****************************
Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former. (Albert Einstein)
Robert L. Johnson III
MCSA, CNA, MCP, Network+, A+
w: robert.l.johnson.iii@citigroup.com
h: wildmage@tampabay.rr.com