save as pdf in access 2007

S

sumGirl

I have the add-on to allow saving objects as xps & pdf. Could someone
post an access module/vba script that demonstrates how to export an
access report to pdf? Its easy enough to do manually, but I would like
to program my form to allow a user to save to pdf without any required
interaction.
 
A

Allen Browne

The basic idea is:

DoCmd.OutputTo acOutputReport, "Report1", acFormatPDF, strFile, True
 
S

sumGirl

The basic idea is:

DoCmd.OutputTo acOutputReport, "Report1", acFormatPDF, strFile, True

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.






- Show quoted text -

Wow - an easy answer from a famous Access guy! Thanks Allen!
 
G

Guest

Hi Allen,

Can you tell me where to find the Access2003 add-in to convert to PDF?
Unfortunately, its only available for Access 2007.

Sarah
 
G

Guest

How would you print a report using a where such as this in the
Docmd.openreport:

DoCmd.OpenReport "CharacterReport", acViewNormal, , "[Character
Database].[ID] = " & CharacterT

I tried embedding this syntax in place of Report1 in your example and no joy.
 

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

Similar Threads

Save as PDF in Office 7
docmd.sendobject 2
free pdf email question 3
Convert Reports to PDF using a Library 8
Save as PDF 5
Save as pdf/xps...2007 4
Save Access Report as PDF? 2
Access 2007 Email Features 1

Top