Application.SelectResourceColumn Method
Project Developer Reference |
Selects a column containing resource information.
Syntax
expression.SelectResourceColumn(Column, Additional, Extend, Add)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Column | Optional | String | The field name of the column to select. The default is the column containing the active cell. |
Additional | Optional | Integer | The number of additional columns to select to the right of Column. If Extend is True, Additional is ignored. The default value is 0. |
Extend | Optional | Boolean | True if all columns between the current selection and Column are selected. The default value is False. |
Add | Optional | Boolean | True if the current column is included in the selection. The default value is False. |
Return Value
Boolean
Remarks
The SelectResourceColumn method is only available when the Resource Sheet or Resource Usage view is the active view.
Example
The following example selects the "Indicators" column and the next two columns.
Visual Basic for Applications |
---|
|
See Also