I have the following code running in an Access 2002 database without any problems:
Set appOutLook = CreateObject("Outlook.Application")
Set MailOutLook = appOutLook.CreateItem(olMailItem)
With MailOutLook
.To = Email
.Subject = CourseDescription & " - TestResults"
.Body = MsgText
.Display
End With
One user was recently upgraded to Access 2003 (also has 2010) and Outlook 2010. The code no long works. I am getting the following error on the create object line:
Error 429. Active X Component cannot create object.
I have checked the references and it seems to be correct on her machine. Are there any suggestions on how to fix this?
Thanks in advance.
Set appOutLook = CreateObject("Outlook.Application")
Set MailOutLook = appOutLook.CreateItem(olMailItem)
With MailOutLook
.To = Email
.Subject = CourseDescription & " - TestResults"
.Body = MsgText
.Display
End With
One user was recently upgraded to Access 2003 (also has 2010) and Outlook 2010. The code no long works. I am getting the following error on the create object line:
Error 429. Active X Component cannot create object.
I have checked the references and it seems to be correct on her machine. Are there any suggestions on how to fix this?
Thanks in advance.