MsoGradientColorType Enumeration (Office)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Specifies the type of gradient used in a shape's fill.

Name

Value

Description

msoGradientColorMixed

-2

Mixed gradient.

msoGradientOneColor

1

One-color gradient.

msoGradientPresetColors

3

Gradient colors set according to a built-in gradient of the set defined by the msoPresetGradientType constant.

msoGradientTwoColors

2

Two-color gradient.

Show: