Hi all,
I've recently changed my PC to office 365 and have a few access program with sends emails from.
With the change, i struggle to get emails to send with the office changes and was wondering if anyone has any guidance?
with my old office and office object 15.0 changed to 16.0
access if stopping on the inital code with a compile error "user-defined type not defined" when dim on the outlook.
Public Function SendEMail()
Dim db As DAO.Database
Dim MailList As DAO.Recordset
===> Dim MyMail As Outlook.MailItem
Dim Subjectline As String
Dim BodyFile As String
Dim fso As FileSystemObject
Dim MyBody As TextStream
Dim MyBodyText As String
Dim MyAttach As String
I've recently changed my PC to office 365 and have a few access program with sends emails from.
With the change, i struggle to get emails to send with the office changes and was wondering if anyone has any guidance?
with my old office and office object 15.0 changed to 16.0
access if stopping on the inital code with a compile error "user-defined type not defined" when dim on the outlook.
Public Function SendEMail()
Dim db As DAO.Database
Dim MailList As DAO.Recordset
===> Dim MyMail As Outlook.MailItem
Dim Subjectline As String
Dim BodyFile As String
Dim fso As FileSystemObject
Dim MyBody As TextStream
Dim MyBodyText As String
Dim MyAttach As String