How to open Reports with bespoke zoom setting

  • Thread starter Thread starter Miles
  • Start date Start date
M

Miles

Use a form with report buttons and form code
(DoCmd.RunCommand acCmdZoom75) to open report with
standard zoom setting of 75%.

Would prefer (first choice) 'Fit' or (second choice) 70%
but get a runtime error unless my code uses one of the
standard numerical zoom settings from the toolbar.

Any way to get 'Fit' or a non-standard zoom setting?

TIA
 
Miles said:
Use a form with report buttons and form code
(DoCmd.RunCommand acCmdZoom75) to open report with
standard zoom setting of 75%.

Would prefer (first choice) 'Fit' or (second choice) 70%
but get a runtime error unless my code uses one of the
standard numerical zoom settings from the toolbar.

Any way to get 'Fit' or a non-standard zoom setting?

I don't think there is a reasonable way to get a custom zoom
factor.

You can get it to fit by using
DoCmd.RunCommand acCmdFitToWindow
 
Why didn't I try that; many thanks!
-----Original Message-----


I don't think there is a reasonable way to get a custom zoom
factor.

You can get it to fit by using
DoCmd.RunCommand acCmdFitToWindow
 
Back
Top