DoCmd.Restore Method (Access)

The Restore method carries out the Restore action in Visual Basic.

expression .Restore

expression A variable that represents a DoCmd object.

You can use the Restore method to restore a maximized or minimized window to its previous size.

Note Note

This method cannot be applied to module windows in the Visual Basic Editor (VBE). For information about how to affect module windows see the WindowState property topic.