I want to be able to output a report to pdf and specify the filename but allow the user to select the path.
Currently using this...
If I leave the OutPutFile parameter blank, it brings up the windows save dialogue with the name of the report as the default. If I specify the file name, it doesn't give me the dialogue box and saves it to the default path. I want to define the filename as above but want the user to define the location to which to save it.
Any ideas?
Currently using this...
Code:
DoCmd.OutputTo acOutputReport, "rptRateCard", acFormatPDF, ("RateCard" & Format(Now(), "mmmyyyy") & ".pdf"), True
If I leave the OutPutFile parameter blank, it brings up the windows save dialogue with the name of the report as the default. If I specify the file name, it doesn't give me the dialogue box and saves it to the default path. I want to define the filename as above but want the user to define the location to which to save it.
Any ideas?