Rename a Report and send email

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I have a button that saves a report as a PDF and removes the file name
based on the order number

stDocName = "rptOrderConformationWaterStream"
strOutFile = Me.Type & Me.OrderNumber & " Order Conformation" &
".pdf"
DoCmd.OutputTo acReport, stDocName, acFormatPDF, strOutFile


This works perfect, is there a way to do the same however attach the
PDF to an email to send
 
Back
Top