Hiya,
trying to send an email through outlook from excel.
The excel VBA compiler says that the Active X component can't create the object, which I beleive is because I'm not refering to the correct component in my project settings. Thing is, I can't see any outlook references that aren't already ticked.
Problem occurs when Initialising the second of these 2 variables:
Can anyone help out me on this one?
trying to send an email through outlook from excel.
The excel VBA compiler says that the Active X component can't create the object, which I beleive is because I'm not refering to the correct component in my project settings. Thing is, I can't see any outlook references that aren't already ticked.
Problem occurs when Initialising the second of these 2 variables:
Code:
Set objOutlook = New Outlook.Application
Set olMail = New Outlook.MailItem
Can anyone help out me on this one?