Hello all Experts,
I'm trying to use DoCmd.OutputTo to save a report as a PDF file. The trouble I'm having is that it seems to ignore the formatting set in VBA. In this case if a certain condition is true the PageHeader is hidden, the problem is that DoCmd.OutputTo prints that header even if the condition is true.
Is there a way around it? Am I missing something?
Thanks in advance for your attention.
I'm trying to use DoCmd.OutputTo to save a report as a PDF file. The trouble I'm having is that it seems to ignore the formatting set in VBA. In this case if a certain condition is true the PageHeader is hidden, the problem is that DoCmd.OutputTo prints that header even if the condition is true.
Is there a way around it? Am I missing something?
Thanks in advance for your attention.