Sub Test() Dim s As Shape Set s = ActiveLayer.CreateRectangle(1, 1, 4, 3) With s.Fill.ApplyFountainFill(CreateRGBColor(0, 0, 0), CreateRGBColor(255, 0, 0)) .Colors.Add CreateRGBColor(255, 255, 0), 30 .Colors.Add CreateRGBColor(0, 255, 255), 60 End WithEnd Sub