ActiveCell Property

Returns a Cell object that represents the active cell. Read-only.

Example

The following example displays the name of the resources assigned to the selected task. It assumes a task view is the active view and the active cell is in a task row.

Sub ResourceNames()

    Dim A As Assignment

    For Each A In ActiveCell.Task.Assignments
        MsgBox A.ResourceName
    Next A

End Sub

Applies to | Application Object

See Also | ActivePane Property | ActiveProject Property | ActiveSelection Property | ActiveWindow Property | FieldIDList Property | FieldNameList Property | Selection Object