Skip to content

Latest commit

 

History

History
60 lines (35 loc) · 1.42 KB

Project.Application.SelectBeginning.md

File metadata and controls

60 lines (35 loc) · 1.42 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.SelectBeginning method (Project)
vbapj.chm2041
vbapj.chm2041
project-server
Project.Application.SelectBeginning
4adf20ae-4fd2-818a-da8c-133c08cad7fb
06/08/2017
medium

Application.SelectBeginning method (Project)

Selects the first cell in the active table or view.

Syntax

expression. SelectBeginning( _Extend_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Extend Optional Boolean True if the current selection is extended to the first cell. If the active view is the Network Diagram or Resource Graph, Extend is ignored. The default value is False.

Return value

Boolean

Remarks

In the Resource Graph, SelectBeginning selects the resource with the lowest identification number. In the Network Diagram, SelectBeginning selects the box closest to the upper-left corner of the view.

Example

The following example selects the "Name" field of row 4 as the beginning field in the Gantt Chart.

Sub Select_Beginning() 
 
 ViewApply Name:="&Gantt Chart" 
 SelectTaskField Row:=4, Column:="Name", RowRelative:=False 
 
 SelectBeginning Extend:=True 
End Sub

[!includeSupport and feedback]