I have an application where it has become necessary to save reports as a PDF file.
Our team has downloaded the add-in from Microsoft for saving to PDF. This file was an exe file
and was just under 1K in size. We have installed it on a single machine and am working with the
VBA code to save as a PDF via button click.
The code we have generated is:
DoCmd.OutputTo acOutputReport, , acPDFFormat, "C:\Documents and Settings\rpt_Student_ClassList.pdf", True
One error is it does not like the format designation, acPDFFormat. We have tried several variations of the
command line and have looked for several days to see what the alternative would be. Unfortunately, we
have not been successful. Has anyone been successful in Implementing the add-in and getting the report to
save to a PDF file?
Also, We have modified the ribbon so we are not allowed to do this manually. We want the users to work
from a button. Each report has a series of buttons to print, export, save and return to main menu. We are
working on the save button at the moment.
Thanks everyone.
Jim