Output a report to a specific folder

R

Robert L.

I want to send a report to a specific folder when I output
the report to a MS Word document. I want give it a
specific pathway. Thanks for any help.
 
J

Jesse Avilés

Use the OutputTo Method.

DoCmd.OutputTo acOutputReport, "ReportName", _
acFormatRTF, "Full_Path_Name.rtf", True

If you dont specify the path, Access will prompt you for
one. True will make Word open the document
automatically. Search in VBA for more help.

Jesse Avilés
[email protected]
http://home.coqui.net/monk
 
Top