By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,217 Members | 1,297 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,217 IT Pros & Developers. It's quick & easy.

Access default FILENAME for Report ExportWithFormatting

P: 22
I am using ExportWithFormatting in a Macro to print a Report to PDF.

The default PDF Filename is the name of the report (in my example "rptNODGLall".

Is there a way to make Access set the PDF Filename as something other than the Report name?

Since I am always manually naming the exported PDF to the Client_ID which is contained within the report, I'd like to have the ExportWithFormatting routine to default to File name = Client_ID instead of defaulting to File name = rptNODGLall.

Attached Images
File Type: jpg Default Filename screenshot.jpg (68.3 KB, 1747 views)
File Type: jpg ExportWithFormatting Screen Shot.jpg (31.5 KB, 1580 views)
Jan 12 '12 #1
Share this Question
Share on Google+
1 Reply

P: 200
Can be done quite easily in VBA. Not sure in a macro.
Jan 15 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.