How do I control the size of the print preview from code?

G

Guest

When my A4 portrait reports open in Print Preview, they open with the size
chosen as "Fit". I have to select a different magnification each time in
order to read the report. Is there a way I can get the report to open in
Print Preview at a specified magnification?
 
M

Marshall Barton

jcg276 said:
When my A4 portrait reports open in Print Preview, they open with the size
chosen as "Fit". I have to select a different magnification each time in
order to read the report. Is there a way I can get the report to open in
Print Preview at a specified magnification?


Use:
DoCmd.RunCommand acCmdZoom...

immediately after the OpenReport method.

The zoom options are listed in Help - RunCommand
 
G

Guest

Thanks very much.

Marshall Barton said:
Use:
DoCmd.RunCommand acCmdZoom...

immediately after the OpenReport method.

The zoom options are listed in Help - RunCommand
 

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

Top