GroupCriterion.GroupInterval 属性 (Project)
获取或设置用作分组定义依据的域的间隔。 读/写 Variant。
语法
expression。 GroupInterval
表达 一个代表 GroupCriterion 对象的变量。
示例
以下示例在指定资源组中添加一个条件,以将资源按照由其工时完成百分比所决定的升序来进行分组。 分组条件的间隔为 5%。
Sub AddCriterionWithInterval()
ActiveProject.ResourceGroups("Response Pending").GroupCriteria.Add "% Work Complete",
True, CellColor:=pjRed, GroupOn:=pjGroupOnPctInterval, StartAt:=5, GroupInterval:=5
End Sub
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:提交和查看相关反馈