Private Sub cmdPreview_Click()
DoCmd.OpenReport "CounterInformation", acViewPreview
DoCmd.Maximize
DoCmd.RunCommand acCmdFitToWindow
' DoCmd.RunCommand acCmdZoom150
End Sub
DoCmd.RunCommand acCmdZoom150
patricio is right again.I think that was the first suggestion.
i have tried the docmd.maximize but it does not work. Report opens as before
Private Sub cmdPrint_Click()
DoCmd.OpenReport "YourReportName", acViewPreview
'then use ONE of the various alternatives including
DoCmd.RunCommand acCmdZoom100
' DoCmd.RunCommand acCmdZoom150
' DoCmd.RunCommand acCmdZoom200
' DoCmd.RunCommand acCmdZoom500
' DoCmd.RunCommand acCmdFitToWindow
' DoCmd.RunCommand acCmdPreviewOnePage
' DoCmd.RunCommand acCmdPreviewTwoPages
' DoCmd.RunCommand acCmdPreviewFourPages
' etc
End Sub
I have used the code supplied in post #12 for almost 20 years. I know it works ... that is providing you aren't using acDialog.I have tried but it does not work. Anyway thank you for all help! I think i can live with this one more click to zoom in. Thanks again.