Sub Test() Dim ff As FountainFill Dim cx As Double, cy As Double ' Current position of fill center Dim sx As Double, sy As Double ' Shape's center If ActiveShape.Fill.Type = cdrFountainFill Then Set ff = ActiveShape.Fill.Fountain Select Case ff.Type Case cdrSquareFountainFill, cdrRadialFountainFill, cdrConicalFountainFill cx = ff.StartX cy = ff.StartY Case cdrLinearFountainFill cx = (ff.StartX + ff.EndX) / 2 cy = (ff.StartY + ff.EndY) / 2 End Select ActiveDocument.ReferencePoint = cdrCenter ActiveShape.GetPosition sx, sy ff.Translate sx - cx, sy - cy End IfEnd Sub