Sub Test() Dim d As Document Dim sel As Shape, s As Shape Dim x As Double, y As Double, Shift As Long Dim c As New Color Set d = ActiveDocument d.ShapeEnumDirection = cdrShapeEnumBottomFirst While d.GetUserClick(x, y, Shift, 100, False, cdrCursorWinArrow) = 0 Set sel = d.ActivePage.SelectShapesAtPoint(x, y, False) If sel.Shapes.Count > 0 Then Set s = sel.Shapes(1) d.ClearSelection s.AddToSelection If s.Fill.Type <> cdrUniformFill Then s.Fill.UniformColor.RGBAssign 255, 0, 0 Else c.CopyAssign s.Fill.UniformColor c.ConvertToHLS c.HLSHue = (c.HLSHue + 30) Mod 360 s.Fill.ApplyUniformFill c End If End If WendEnd Sub