返回指定集合中对象的个数。Long 类型,只读。
本示例显示图表中图表组的数目。
MsgBox "The chart contains " & _ myChart.ChartGroups.Count & _ " chart groups."