DoCmd.Restore method (Access)

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



expression A variable that represents a DoCmd object.


Use the Restore method to restore a maximized or minimized window to its previous size.


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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.