I have some code in VB which allows the user to email a request. When I set this up originally everything worked fine but I have saved this in MS teams. The user now needs to open it up in the Desktop App.
When they do this I get an error at the point of the email code
My code is
The error says
Compile error
User-defined type not defined
??
Any ideas ?
When they do this I get an error at the point of the email code
My code is
Code:
Dim outlookapp As Outlook.Application
Dim outlookmail As Outlook.Mailitem
The error says
Compile error
User-defined type not defined
??
Any ideas ?