title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Pane.View method (Project) |
project-server |
|
a29aa7d4-e712-bbf4-96dd-e0fdeab70ba2 |
06/08/2017 |
medium |
Returns the active View object.
expression.View
expression A variable that represents a Pane object.
View
The following statement prints the name of the view in the Immediate window in the VBE. For example, if the Team Planner view is active, the statement prints "Team Planner".
Debug.Print ActiveWindow.ActivePane.View.Name
[!includeSupport and feedback]