title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.ColumnAlignment method (Project) |
vbapj.chm2325 |
|
project-server |
|
9c51eb2d-c28b-cb00-57e5-1643093e4acb |
06/08/2017 |
medium |
Sets the alignment of text in the active columns.
expression. ColumnAlignment
( _Align_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Align | Required | Long | The alignment of text in the active columns. Can be one of the following PjAlignment constants: pjLeft, pjCenter, or pjRight. |
Boolean
The following example aligns the Start column to the left side.
Sub Column_Alignment()
'Activate Gantt Chart view
ViewApply Name:="Gantt Chart"
SelectTaskColumn Column:="Start"
ColumnAlignment Align:=pjLeft
End Sub
[!includeSupport and feedback]