Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.26 KB

Project.Application.SegmentBorderColor.md

File metadata and controls

52 lines (32 loc) · 1.26 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.SegmentBorderColor method (Project)
vbapj.chm72
vbapj.chm72
project-server
Project.Application.SegmentBorderColor
99c2d2ba-f0c5-b462-5801-ac9c7ee75a02
06/08/2017
medium

Application.SegmentBorderColor method (Project)

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

Name Required/Optional Data type Description
Color Required Long Border 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

[!includeSupport and feedback]