Connecting Tech Pros Worldwide Forums | Help | Site Map

Report in 100 Zoom

Newbie
 
Join Date: Jul 2006
Posts: 29
#1: Sep 4 '06
Hi - I'm trying to figured out how to click on a report and have it already in 100% zoom instead of having always click on zoom to make report larger. Thanks!

msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,885
#2: Sep 4 '06

re: Report in 100 Zoom


Put the following line of code after the Report Open command

DoCmd.RunCommand acCmdZoom100

Quote:

Originally Posted by rgsw

Hi - I'm trying to figured out how to click on a report and have it already in 100% zoom instead of having always click on zoom to make report larger. Thanks!

Newbie
 
Join Date: Jul 2006
Posts: 29
#3: Sep 4 '06

re: Report in 100 Zoom


I converted the macro to VBA as shown below. Because I'm just learning VBA, I'm not sure where to insert the code you gave. Could you give an example. Thanks again!

DoCmd.OpenReport "Query2", acViewPreview, "", "", acNormal
Newbie
 
Join Date: Jul 2006
Posts: 29
#4: Sep 4 '06

re: Report in 100 Zoom


Quote:

Originally Posted by rgsw

I converted the macro to VBA as shown below. Because I'm just learning VBA, I'm not sure where to insert the code you gave. Could you give an example. Thanks again!

DoCmd.OpenReport "Query2", acViewPreview, "", "", acNormal

Never mind finally figured it out. Thanks this works.
Reply