Hi,
I’m working on a database that is set up to email outlook via access and its been working fine. Now the user is getting the following error and I’m not sure what the issue is:
Function SendMail( _
Recipient As String, _
Subject As String, _
Message As String, _
Attachment As String, _
Optional ShowMail As Boolean) As Boolean
Dim objOL As Outlook.Application
Dim objMI As Outlook.MailItem
Dim blnNotActive As Boolean
Dim intPos1 As Integer, intPos2 As Integer
The first 6 lines are hightlighted in yellow.
I’ve attached a screen shot of the reference library.