title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.SelectColumn method (Project) |
vbapj.chm2046 |
|
project-server |
|
5bb674e9-253e-355f-a501-d0aeaef56535 |
06/08/2017 |
medium |
Selects one or more columns.
expression. SelectColumn
( _Column_
, _Additional_
, _Extend_
, _Add_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Column | Optional | Integer | The number of the column to select. (Columns are numbered from left to right, starting with 2.) The default is the active column. |
Additional | Optional | Integer | The number of columns to select in addition to the active column. |
Extend | Optional | Boolean | True if the active selection is extended into the new selection. The default value is False. |
Add | Optional | Boolean | True if the new selection is added to the active selection. The default value is False. |
Boolean
The following example selects the fourth column of the Gantt Chart.
Sub Select_Column()
ViewApply Name:="&Gantt Chart"
SelectColumn Column:=4, Extend:=False
End Sub
[!includeSupport and feedback]