Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.ActiveCell Property (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. ActiveCell

expression A variable that represents an Application object.

Example

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
© 2018 Microsoft