Learn how to a build a cloud-first strategyRegister Now


Create PDF from Access Report WITHOUT Opening Adobe Acrobat Professional

Posted on 2011-10-03
Medium Priority
Last Modified: 2013-11-27
I have successfully managed to create a PDF report from an MS Access 2010 database report.  It works GREAT and I plan to use it in a process that will generate a hundred or so reports (certificates for conference attendees).  However... I have run into one glitch that I cannot seem to get around.

Whenever I create a pdf report via the VBA code, it opens Adobe Acrobat Professional.  I can't figure out a way to turn off the setting that tells it to open after creating the pdf.  Talk about annoying.  Closing the Access report is simple.  But closing the Adobe app (or even better... creating the PDF without opening Acrobat) is proving to be a royal pain in the asterisk.

Appreciate any help you can provide.  

Question by:careybroph

Expert Comment

ID: 36907772
there is a free utility called cutepdf...

free and easy to use


it will convert any document to pdf, it works like a printer..
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 36907808
Here is code that uses it as a printer

LVL 22

Accepted Solution

Kelvin Sparks earned 1000 total points
ID: 36907880
This is the easiest way in Access 2010

DoCmd.OutputTo acOutputReport, "rptname", acFormatPDF, "Filename", 0

The 0 at the end says don't start Adobe, use -1 to start it. You just need to dynamically set the filename for each certificate - prtesumably in some loop.


Author Closing Comment

ID: 36907906
Thanks!  That's the perfect solution.  I figured that MUST be a simple way to accomplish this without a bunch of extra code (it seems like such a logical option).  I looked and looked, but couldn't find that documented (or I misinterpreted it).

Thanks again!

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question