Solved How to automatic put file name [Microsoft Print to PDF] (1 Viewer)

dafepi-2012

New member
Local time
Today, 18:29
Joined
Aug 21, 2012
Messages
11
MS ACCESS do not let export report to PDF with Fonts Embed.

SOLUTION
: Print with [Microsoft Print to PDF] as image !!

How to fill automatic path and filename in the box save as.... ??

Thanks !!

PD: fileDialog do not work


Private Sub Print_Microsoft_Print_to_Pdf_Click()

Set Application.Printer = Application.Printers("Microsoft Print to PDF")

DoCmd.OpenReport "invoice", acViewNormal, , "[IdInvoice]=Forms![Selector_invoice]![Cod_invoice]"

'Now, set the Default Printer back to the way it was
Set Application.Printer = Nothing
End sub

Thanks

1626663377392.png
 

Users who are viewing this thread

Top Bottom