Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 1.74 KB

Project.Application.SelectResourceColumn.md

File metadata and controls

62 lines (38 loc) · 1.74 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.SelectResourceColumn method (Project)
vbapj.chm2066
vbapj.chm2066
project-server
Project.Application.SelectResourceColumn
22b9396b-ddec-cfed-311d-a02face0ae2f
06/08/2017
medium

Application.SelectResourceColumn method (Project)

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.

Sub Select_ResourceColumn() 
 
 'Activate Resource Sheet 
 ViewApply Name:="&Resource Sheet" 
 SelectResourceColumn Column:="Indicators", Additional:=2 
End Sub

[!includeSupport and feedback]