Table of contents
TOC
Collapse the table of content
Expand the table of content

Pane.View Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the active View object.

Syntax

expression. View

expression A variable that represents a Pane object.

Return Value

View

Example

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 Plannner".

Debug.Print ActiveWindow.ActivePane.View.Name
© 2018 Microsoft