Application.AppRestore method (Project)
Restores the main window to its previous nonminimized or nonmaximized state.
expression A variable that represents an Application object.
The following example minimizes the application and then restores its original state.
Sub RestoreApplication() 'Minimize the app. AppMinimize 'Restore the app. AppRestore End Sub
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.