Application.SelectTaskColumn method (Project)

Selects a column containing task information.


expression. SelectTaskColumn( _Column_, _Additional_, _Extend_, _Add_ )

expression A variable that represents an Application object.


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



The SelectTaskColumn method is only available when the Gantt Chart, Task Sheet, or Task Usage view is the active view.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.