I'm getting error 13 (type mismatch) when attempting to send emails from within Access 2003.
My code (which works for other clients) is:
Global OutlookApplication As Outlook.Application, OutlookMail As Outlook.MailItem, Inbox As Outlook.MAPIFolder, DetailSectionLeftDescriptionLabel As String
Set OutlookApplication = New Outlook.Application
Set OutlookMail = Outlook.Application.CreateItem(olMailItem)
I get error 13 with the last line. The Client has Access 2003 and Office 2010 on a 32bit Win 7 PC. The project has a reference for Microsoft Outlook 14.0 Object Library added and I have tried moving it up the reference list as far as it can go.
Any help would be appreciated