Margins on my report

  • Thread starter Thread starter Joe
  • Start date Start date
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
 
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
 
Back
Top