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