I have some code within Excel that creates an email, but I am getting a Type mismatch error. I checked and I appear to have all the correct references set. It is failing at SetappMail = appOL.CreateItem(0)
Dim applOL as Outlook Application, appMail As Outlook.MailItem,,,,,,,,,other Dim Outlook statements, etc.
Set appOL = New Outlook.Application: Set appMail = appOL.CreateItem(0)