DoCmd.Minimise

Minimise the active window.

Syntax
      DoCmd.Minimise

Assuming the default menus are available, use the Window menu to switch between forms/windows.

For Minimise to be effective you first have to change the Access option to allow Overlapping Windows.
The form must also be the active, selected object.

Example

DoCmd.SelectObject acForm, "frmName"
DoCmd.Minimise

“To minimize suffering and to maximize security were natural and proper ends of society and Caesar. But then they became the only ends, somehow, and the only basis of law — a perversion. Inevitably, then, in seeking only them, we found only their opposites: maximum suffering and minimum security” ~ Walter M. Miller, Jr.

Related:

Maximize - Enlarge the active window.
Restore - Restore a maximized or minimized window.


 
Copyright © 1999-2021 SS64.com
Some rights reserved