Maximized on open

  • Thread starter Thread starter Donna Brooks
  • Start date Start date
D

Donna Brooks

Does anyone know how to make a form open maximized? If
you maximize it in design view, it goes back to form view
maximized, but if you close out the program and open it
back up it is not maximized.

Thanks in Advance,
Donna Brooks
 
On the form open or activate event add the code
docmd.maximize

That should make the form maximize when opened.
 
Hi Donna,

In design view, go to properties, events, then put
=[DoCmd].[Maximize] in the "On Load" field.
If you want it to restore to a smaller size in design
view, put =[DoCmd].[restore] in "On Unload".

Marc
 
Does anyone know how to make a form open maximized? If
you maximize it in design view, it goes back to form view
maximized, but if you close out the program and open it
back up it is not maximized.

Thanks in Advance,
Donna Brooks

In the Form's open use:

Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

- Jim
 
Back
Top