Application.WindowPrev method (Project)
Activates the window that was previously opened.
Syntax
expression. WindowPrev
( _NoWrap_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
NoWrap | Optional | Boolean | True if using WindowPrev on the first opened window doesn't wrap around to the last opened window. The default value is False. |
Return value
Boolean
Remarks
The window order is the order in which windows are opened. The drop-down window list in the Window group of the View tab in the Ribbon contains the alphabetically sorted list of open windows.
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.