Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.SegmentBorderColor Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Sets the border color for the assignment segments of a selected task in the Team Planner view.

Syntax

expression. SegmentBorderColor( ** Color** )

expression An expression that returns an Application object.

Parameters

NameRequired/OptionalData TypeDescription
ColorRequiredLongBorder color of the assignment segments. The color is a hexadecimal RGB value, where red is the last byte.

Return Value

Boolean

Example

In the following example, a task is assigned to two resources. After selecting either of the assignments, running the ChangeSegmentColor macro shows all assignments for the task as light red with a blue border.

Sub ChangeSegmentColor() 
    Application.SegmentFillColor(&;H8080FF) 
    Application.SegmentBorderColor(&;HFF1010) 
End Sub
© 2018 Microsoft