Margins on my report

J

Joe

I would like to set up the Margins on my report, by code.
Not File/Page Setup/Margin

Top margin 1"
Left margin 3"


I'll open this report with a command button.

Please help
Thanks
Joe
 
F

fredg

I would like to set up the Margins on my report, by code.
Not File/Page Setup/Margin

Top margin 1"
Left margin 3"

I'll open this report with a command button.

Please help
Thanks
Joe

See the PrtMip property in VBA help.
NOTE:
You can set up report margins using VBA code ONLY if the report is
first opened in Design View...
Docmd.OpenReport "ReportName", acViewDesign
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top