Rename a Report and send email

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top