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

GroupCriterion.GroupInterval Property (Project)

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

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


expression. GroupInterval

expression A variable that represents an GroupCriterion object.


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
© 2018 Microsoft