Restores a maximized or minimized window to its previous size.
Syntax
DoCmd.Restore()
Comments
The method affects only the window that has the focus. To change the focus from one window to another in order to restore it, you can call the DoCmd.SelectObject method.