Application.SecondaryViewChange event (Project)
Event occurs when a secondary view pane changes within a project window.
Syntax
expression. SecondaryViewChange
( _Window_
, _prevView_
, _newView_
, _success_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Window | Required | Window | The name of the Project file. |
prevView | Required | View | The name of the previous topic pane view before the view change occurred. If the user was not in a project view before applying the current view, the prevView argument returns null. |
newView | Required | View | The name of the new top pane view that the user applied. |
success | Required | Boolean | True if the view change action succeeded. |
Return value
Nothing
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.