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