Application.WindowSelectionChange event (Project)
Occurs when the selection handle is changed within a window in Project.
Syntax
expression. WindowSelectionChange
( _Window_
, _sel_
, _selType_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Window | Required | Window | The window where the selection occurs. |
sel | Required | Selection | The selection. |
selType | Required | Long | The type of data included in the selection. Can be one of the following PjItemType constants: pjOtherItem, pjResourceItem, or pjTaskItem. |
Return value
Nothing
Remarks
The WindowSelectionChange event does not occur when changing the selection on the right pane of a Task Usage or Resource Usage view, or when changing the selection within a node in the Network Diagram view.
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.