Output Format PDF - Access 2007

  • Thread starter Thread starter Bdeneke
  • Start date Start date
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?
 
Back
Top