Using Access 2007 and the Docmd.Sendobject command I send out a pdf, but I cannot find a way to name the pdf being sent. I do not want to use an Outlook reference and go that route since a lot of people here have different versions of Outlook. Is there a way to name the pdf?
DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile]
My line:
DoCmd.SendObject acSendReport, strDocName, acFormatPDF, , , , "CAPA# " & strWhere & " Has Been Initiated", "Please Review the Attached CAPA and Respond Appropriately." & vbCrLf & vbCrLf & "Thanks," & vbCrLf & vbCrLf & "Quality Assurance Department"
Thanks,
DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile]
My line:
DoCmd.SendObject acSendReport, strDocName, acFormatPDF, , , , "CAPA# " & strWhere & " Has Been Initiated", "Please Review the Attached CAPA and Respond Appropriately." & vbCrLf & vbCrLf & "Thanks," & vbCrLf & vbCrLf & "Quality Assurance Department"
Thanks,