Output Format PDF - Access 2007

B

Bdeneke

Have an old broken database to debug and am finding VBA more difficult to
self teach in Access 2007 than it was previously. I want to have a button on
a user form save a report to file in PDF format. Here's the code I have
currently

DoCmd.OutputTo acOutputReport, stDocName, acFormatPDF, "C:\LWV\Exports" &
Me.LstReports.Column(1) & ".pdf"

But I get an error message saying that "The format in which you are
attempting to output the current object is not available."
I have already downloaded and installed the PDF add in.
Any ideas what I am doing wrong?
 

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