Emailing PDF reports from Access

G

Guest

Presently, I am emailing some reports from Access via a simple macro created.
The reports are emailed in the MS Snapshot format. Well, I would like to
email the reports in the PDF format. I have Adobe Professional and of course
everybody has or should have Adobe Reader. I would rather email the reports
in PDF, but that does not appear to be an option. How can the reports be
created in PDF format and emailed?

know I can print the reports to the Adobe printer option, but that is not so
friendly of a process. I would like to use a macro or some other script.
Please note I have limited knowledge of Access.
 
J

Jeff C

Presently, I am emailing some reports from Access via a simple macro created.
The reports are emailed in the MS Snapshot format. Well, I would like to
email the reports in the PDF format. I have Adobe Professional and of course
everybody has or should have Adobe Reader. I would rather email the reports
in PDF, but that does not appear to be an option. How can the reports be
created in PDF format and emailed?

know I can print the reports to the Adobe printer option, but that is not so
friendly of a process. I would like to use a macro or some other script.
Please note I have limited knowledge of Access.

Doing a search of this site I found references to printing to an adobe
printer and references to cutepdf which is shareware that converts
most everything to PDF format if you do not own the full Adobe
package. Since you are using the maco to print your .snp format, use
the macro to print your report and assign the printer for the report
to be CutePDF (assuming you get the shareware and install it). This
will give you the prompts to save the file in PDF format. I am not
very advanced in Access but I think the only way to automate the
report generation and e-mail prompt is though VB code but I may be
wrong.
 
G

Guest

thanks. I do have the Adobe full version. But, even there I have to respond
to the prompts. Perhaps the answer is that I need the VB code written. I hope
somebody can advise further on the topic.
 
A

Arvin Meyer [MVP]

G

Guest

Can you tell me what code you used as I am struggling to automate my
invoicing via email, I can do it with the 'snapshot' view but I want to use
the PDF format - can you help?

Arvin Meyer said:
I use Steve Arbaugh's PDF and Mail Class which does work with Adobe, but is
significantly faster and less error prone with Win2PDF

http://ourworld.compuserve.com/homepages/attac-cg/

http://www.win2pdf.com/

Between the code in the class module, and my own code, I have able to
create, save as pdf's, and send by email hundreds of PO's per hour, totally
automatically.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
P

Paul Shapiro

I can send you the code I've written to create a pdf from either an Access
report or a Word document. Send me an email by removing the "hideme" if
you'd like a copy. It works with Adobe Acrobat versions from 5 to 8.

I haven't tried it, but someone else posted that in Access 2007 pdf is a
supported output format, once you install the free PDF/XPS add-in from
Microsoft. The code was simply:
DoCmd.OutputTo ObjectType:=acOutputReport, _
ObjectName:=argRPT, _ 'the report we are working with
outputformat:=acFormatPDF, _
outputfile:=strReportFile, _ 'path (drive, folder & name)
to put pdf in.
autostart:=True
 

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