Question : Save an Access Report as a PDF

How can I programatically save an Access Report as a PDF?

Answer : Save an Access Report as a PDF

Well, this is really

Put a message box after the line where you set the printer ie

rpt.PrtDevNames = "Acrobat PDFWriter"
MsgBox rpt.PrtDevNames

In my system the Messagebox gives the correct response "Acrobat PDFWriter"

However, it also prints to the default printer.

So, sorry, you are correct. It does not work.

I created the solution on a computer without PDF Writer, and used print to file instead. That worked fine.

I don't know why this is not working.

I will find out and get back to you

Greg

Random Solutions  
 
programming4us programming4us