Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zoom Factor

Status
Not open for further replies.

strtech

Technical User
Oct 30, 2006
27
US
Is there a way to set the zoom factor to a default percentage when using a macro or Module to print preview a report. Right now when the macro runs it opens the report but it always defaults to "fit" and the client is looking to avoid the need to resize it.

Any help would be appreciated.
 
How are ya abcmstr . . .

I've never use them but try any of the DoCmd.RunCommand acCmdZoom constants:

[tt]DoCmd.RunCommand acCmdZoom10
25
50
75
100
150
200[/tt]

I believe the report has to already be in preview (data showing or processing complete) before you can use them. Otherwise an [blue]Method Not Available Yet[/blue] error occurs.

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top