This what I have now. Still, nothing happens. Outlook does not come up...
Private Sub Command93_Click()
Dim appOutLook As Outlook.Application
Dim MailOutLook As Outlook.MailItem
Set appOutLook = CreateObject("Outlook.Application")
Set MailOutLook = appOutLook.CreateItem(olMailItem)
DoCmd.OutputTo acOutputReport, , acFormatPDF, "C:\aaa\" & [Msampleid] & ".pdf"
MsgBox "PDF Saved To Safe Air Systems As " & [Msampleid] & ".pdf"
Me.Caption = Me.Msampleid
With MailOutLook
.To = "
test@test.com"
' .cc = ""
' .bcc = ""
.Attachments.Add "c:\aaa\9890.pdf"
.Subject = "Test"
.HTMLBody = "Test HL: <a href='folder path here'>Link description here</a>"
' .Send
End With
End Sub