Save/Print to PDF when a Report is closed.

B

Beth

I have a message box prompting the user if they want to Save the report
before closing. If they click the 'Yes' button, I want to open the
Print Dialog box and select the PDFWriter option. I started with the
DoMenuItem, but I'm having a hard time finding good documentation on
the Methods/Enumerations to get this going.

At minimum, I need to display the Print dialog box and they can pick
the PDFWriter option.

Thank you in advance for any advice.
Beth
 
K

Kevin

Beth,

I have used a print command in VBA and from what I recall you can specify a
printer. I just don't remmember the syntax, it has been 6 or 8 months and I
just don't remmember. Check VBA help.

Hope that helps!
 
R

ruben salvadori

Hey american people, you problem is very easy to solucionate, you may turn
on the computer, and then see what happen.
Mr sabelotodo.
 
Top