Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.04 KB

Project.GroupCriterion.GroupInterval.md

File metadata and controls

36 lines (23 loc) · 1.04 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
GroupCriterion.GroupInterval property (Project)
project-server
Project.GroupCriterion.GroupInterval
1944776c-0150-d901-79f1-cfb7c0c698f7
06/08/2017
medium

GroupCriterion.GroupInterval property (Project)

Gets or sets the interval for a field used as a criterion in a group definition. Read/write Variant.

Syntax

expression. GroupInterval

expression A variable that represents an GroupCriterion object.

Example

The following example adds a criterion to the specified resource group, grouping resources in ascending order as determined by the percentage of their work that is complete. The interval for the group criterion is 5%.

Sub AddCriterionWithInterval() 
 ActiveProject.ResourceGroups("Response Pending").GroupCriteria.Add "% Work Complete", 
 True, CellColor:=pjRed, GroupOn:=pjGroupOnPctInterval, StartAt:=5, GroupInterval:=5 
End Sub

[!includeSupport and feedback]