S
Scott
I have the following code, but would like to indicate (where the XXXXXXX's
are) that unless at the end of the records docmd.gotorecord
However, I can't seem to get it write.
Here is my code
Private Sub Form_Current()
Dim outApp As Outlook.Application, outMsg As MailItem
Set outApp = CreateObject("Outlook.Application")
Set outMsg = outApp.CreateItem(olMailItem)
With outMsg
'.Importance = olImportanceHigh
.To = Me.ch_email & ";" & Me.proxy_email
.CC = Me.coord_email
.Subject = "" & Me.almostexpiredsubject
.Importance = olImportanceHigh
.body = Me.almostexpiredbody
.Send
End With
Set outApp = Nothing
Set outMsg = Nothing
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
End Sub
Thanks in advance for your assistance
are) that unless at the end of the records docmd.gotorecord
However, I can't seem to get it write.
Here is my code
Private Sub Form_Current()
Dim outApp As Outlook.Application, outMsg As MailItem
Set outApp = CreateObject("Outlook.Application")
Set outMsg = outApp.CreateItem(olMailItem)
With outMsg
'.Importance = olImportanceHigh
.To = Me.ch_email & ";" & Me.proxy_email
.CC = Me.coord_email
.Subject = "" & Me.almostexpiredsubject
.Importance = olImportanceHigh
.body = Me.almostexpiredbody
.Send
End With
Set outApp = Nothing
Set outMsg = Nothing
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
End Sub
Thanks in advance for your assistance