Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.38 KB

Project.Application.SelectCell.md

File metadata and controls

60 lines (36 loc) · 1.38 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.SelectCell method (Project)
vbapj.chm2070
vbapj.chm2070
project-server
Project.Application.SelectCell
7177d0bb-6e0e-8885-4f29-51faa34cea8b
06/08/2017
medium

Application.SelectCell method (Project)

Selects a cell.

Syntax

expression. SelectCell( _Row_, _Column_, _RowRelative_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Row Optional Long The row number (RowRelative is False) or the relative row position (RowRelative is True) of the cell to select.
Column Optional Integer The column number of the cell to select.
RowRelative Optional Boolean True if the row number is relative to the active cell. The default value is True.

Return value

Boolean

Remarks

Using the SelectCell method without specifying any arguments retains the current cell as the active cell.

Example

The following example selects the third field in the fourth row of the Gantt Chart.

Sub Select_Cell() 
 
 ViewApply Name:="&Gantt Chart" 
 SelectCell Row:=4, Column:=3, RowRelative:=False 
End Sub

[!includeSupport and feedback]