zoom report

nevsad

New member
Local time
Today, 15:35
Joined
Mar 3, 2020
Messages
5
hi...
I use the code to open the report.......
Code:
Private Sub Report_Activate()
    DoCmd.ShowToolbar "Print Preview", acToolbarYes
    DoCmd.Maximize
End Sub

This works great
The question is
Is it possible, upon opening the report, to use the zoom option 200%
Any ideas are welcome
thank you
 
Last edited by a moderator:
if you are using a command button to open the report, you can run Zoom after you open the report.
for macro:
macro.png


for VBA code:

vba.png


note that on the last picture, FormNamesT is my sample Report name.
 
if you are using a command button to open the report, you can run Zoom after you open the report.
for macro:
View attachment 105443

for VBA code:

View attachment 105444

note that on the last picture, FormNamesT is my sample Report name.
Very good clue, can even use on a Form as embedded macro/
DoCmd.OpenForm "frmRotate", acPreview, "", "", , acNormal
DoCmd.RunCommand acCmdZoom200
It will worked.
 

Users who are viewing this thread

Back
Top Bottom