I need the VBA code for exporting to a Access Report to a PDF please..
Thanks
Main Topics
Browse All TopicsHello All- I have a VBA program that creates a Graph Report in Access. I would like to see some code that will export this Report to a PDF and place it in a folder. Thank you for your help on this in advance.
Regards,
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
There may be others that are better..., but I use:
http://www.cutepdf.com/
HTH
JeffCoachman
Dear JoshinHtown as stated previously there are a couple of options at least, Jeff has provided the website for CuteFTP and the website for PDF995 is http://www.software995.com
I would suggest you take a look at both of these options and get one to work manually,they both rely on printing the report to a PDF Printer. You may nee to consult with your IT department or customers if they have any preference or restrictions on what you can do. You also need to consider the environment you are running in, for example CITRIX can be a real pain to configure the PDF995 software (I don't know about CuteFTP).
Then people can might be able to supply specific code for the one you have chosen.
With Access 2003 I believe you can use the Application.Printer methods not available in Access 2000 and previous versions where you have to change the Windows default printer or create a specific report for the PDF printer.
Hope this helps
Andrew
JoshinHtown,
You need to Download and RUN both the "Free Download" AND the "Free Converter".
After you run both, you will go to the Windows control-->Printers, and there should be a new "CutePDFWriter" printer installed.
Now all you have to do to print a PDF in Access is to simply select the "CutePDFWriter" as your printer.
Basically all PDF creators are printer "emulators".
The PDF software "Prints" the PDF to a file.
There are help files provided if you have any trouble installing. Check these first if you have any issues.
Let me know if you need anymore help
JeffCoachman
Hi guys- I'm trying to be clear on this but no one seems to be understanding me.. I need VBA code that will take a Access Report and print it to a PDF and place it in a folder. I know this can do done in a If statement because I've done it in an excel before. I do not know the Access objects so that's why I'm here asking for help. Please let me know..
Regards,
JoshinHtown,
There are several solution in the following links.
(you still need to have a PDF printer installed though)
http://www.experts-exchang
http://www.experts-exchang
http://www.experts-exchang
http://www.experts-exchang
Hope this helps more
JeffCoachman
Business Accounts
Answer for Membership
by: TextReportPosted on 2008-02-14 at 11:48:13ID: 20896520
In Access 2007 I beleive that there is an option to export to PDF. In all previous versions you have to use a PDF Printer and there are various different programs such as CutePDF and PDF995 that have there own ways of doing this.
Cheers, Andrew