Application.SelectEnd method (Project)

Selects the last cell in the active table that contains a resource or task.

Syntax

expression. SelectEnd( _Extend_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Extend Optional Boolean True if the current selection is extended to the last cell. If the active view is the Network Diagram or Resource Graph, Extend is ignored. The default value is False.

Return value

Boolean

Remarks

In the Resource Graph, SelectEnd selects the resource with the highest identification number. In the Network Diagram, SelectEnd selects the box closest to the lower-right corner of the view. The SelectEnd method is not available when the Calendar view is active.

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.