Report Preview - Fit

fdservices

New member
Local time
Today, 11:57
Joined
May 14, 2003
Messages
4
I have a report which is set to open in Preview mode. Once it is open in the Preview window I would like to set it to "fit" the window automatically. I just cannot see how it can be done in VBA.

Any help would be appreciated.
 
DoCmd.OpenReport stDocName, acPreview
DoCmd.RunCommand acCmdFitToWindow
 
Thanks - It seems so easy when you know:)
 

Users who are viewing this thread

Back
Top Bottom