Maximize Access when Launched

T

Tom Grillot

Is there a way, through code, to maximize the Access window as soon as it's
launched?

Thanks,
Tom
 
B

Brendan Reynolds

In the Open event procedure of your startup form ...

Private Sub Form_Open(Cancel As Integer)

DoCmd.RunCommand acCmdAppMaximize

End Sub
 
V

Veronica

This is not code, but the easiest way I have found to accomplish this is to
create a "maximize" action macro, and apply the macro name to the "on open"
property of your start-up form/view.
 
T

Tom Grillot

Great - worked perfectly. Thanks

Brendan Reynolds said:
In the Open event procedure of your startup form ...

Private Sub Form_Open(Cancel As Integer)

DoCmd.RunCommand acCmdAppMaximize

End Sub
 
Top