title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.ActiveCell property (Project) |
vbapj.chm131368 |
|
project-server |
|
880931d8-fc23-7938-e4fe-bd800eeae318 |
06/08/2017 |
medium |
Gets a Cell object that represents the active cell. Read-only Cell.
expression.ActiveCell
expression A variable that represents an Application object.
The following example displays the names of the resources assigned to the selected task. The example 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
[!includeSupport and feedback]