Search code examples
vbams-accessms-access-forms

VBA to Open MS Access Form Full Screen


I have problem with VBA Access database I want to open form full screen. Let me know which property and code I use to do fix the issue.

I tried many script and codes.

Private Sub Form_Load()
    Application.Forms = Xlmaximized
End Sub

Solution

  • For a form to maximize it is:

    Private Sub Form_Load()
    
        DoCmd.Maximize
    
    End Sub
    

    The application you should never force to be maximize. That would be to violate the user's control over the machine.