You need to set a reference to the Microsoft Outlook Object Library in Tools>References...
I have some code:
When I run it I get error "User-defined type not defined excel vba Outlook.Application".
May you helpme to find the problem.VB:Sub SendEmails() Dim olApp As Outlook.Application Dim olMail As MailItem Set olApp = New Outlook.Application
Thanks in advance.
suggest that you actually read the Forum Rules that you agreed to.Originally Posted by Dw6853
You should not hijack threads, but start your own with a reference to the other one if you think it will help
There are currently 1 users browsing this thread. (0 members and 1 guests)