Can someone please explain why I am getting an error message when I am running this script.Error Message: The Object type argument for this action or method is blank or invalidCode Used:
Code:If Me.cmbQuoteVia = "Email" Then DoCmd.OpenReport "rptQuote", acViewNormal, , "[Unit] = " & [Unit] DoCmd.SendObject acSendReport, , acFormatPDF, Me.CustEmailQuote, , , "RSO#" & [Unit], "Please see attached Repair Quote" End If