Share via


Application.AppRestore Method

Project Developer Reference

Restores the main window to its previous nonminimized or nonmaximized state.

Syntax

expression.AppRestore

expression   A variable that represents an Application object.

Return Value
Boolean

Example
The following example minimizes the application and then restores its original state.

Visual Basic for Applications
  Sub RestoreApplication()
    'Minimize the app.
     AppMinimize
    'Restore the app.
    AppRestore
End Sub

See Also