Link to home
Start Free TrialLog in
Avatar of Noah
NoahFlag for Singapore

asked on

Needs Help With VBA Reference for Outlook

Greetings experts,

I am currently trying to automate tasks between Excel and Outlook, however, there seems to be a recurring issue.

I keep getting the "user-defined-type-not-defined" error despite already having ensured that the Microsoft reference under the Tools tab has been checked.

The line that the code appears to have this error is something like this
Dim App As New Outlook.Application

Open in new window

Any help is much appreciated! :)
Avatar of Robberbaron (robr)
Robberbaron (robr)
Flag of Australia image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Noah


Thank you for your help! It works when I have updated the correct version of outlook and used your code