Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save Report with Specific Name

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
I have a report that is saved and edited in Word. I would like to make the report save with the name of the Client as the filename, rather then save with the name of the report. Is this possible? If so, how can I do it.
 
Not really sure how you are saving your report, but you might try something like:

DoCmd.OutputTo acOutputReport, "rptCustomer", acFormatRTF, "Some variable for your file name here.doc"

This should save a doc file with whatever you load your variable with.

Rene'
 
Thank you very much. That is it. Was saving it Rtf, but I didn't know you could also save as .doc. Koolio.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top