XYGroups Method Example
This example sets X-Y group (scatter group) one to use a different color for each data marker. The example should be run on a 2-D chart.
Charts("Chart1").XYGroups(1).VaryByCategories = True