R
Rpettis31
The object doesn't contain the Automation object CAR.
Private Sub cmbxEmailCarRequest_Click()
Dim stDocName As String
stDocName = "CarRequest.Email Car Request"
' Define Strings for email
CAR = "CAR"
Iss = "Has been issued for item:"
Isss = "with the following issue:"
ass = "This issue has been assigned to,"
aud = "The audit results were :"
DoCmd.RunMacro stDocName
Exit_cmbxEmailCarRequest_Click:
Exit Sub
Err_cmbxEmailCarRequest_Click:
MsgBox Err.Description
Resume Exit_cmbxEmailCarRequest_Click
End Sub
Private Sub cmbxEmailCarRequest_Click()
Dim stDocName As String
stDocName = "CarRequest.Email Car Request"
' Define Strings for email
CAR = "CAR"
Iss = "Has been issued for item:"
Isss = "with the following issue:"
ass = "This issue has been assigned to,"
aud = "The audit results were :"
DoCmd.RunMacro stDocName
Exit_cmbxEmailCarRequest_Click:
Exit Sub
Err_cmbxEmailCarRequest_Click:
MsgBox Err.Description
Resume Exit_cmbxEmailCarRequest_Click
End Sub