CELLISTHEMED Function
Enables you to specify one behavior for a shape when it has a theme applied to it and another when it does not.
Syntax
CELLISTHEMED()
Remarks
Applying the CELLISTHEMED function to a shape lets you assign appropriate parts of a theme's formatting to a shape but retain the ability to override other parts of the theme's formatting with your own manually applied formatting. If you subsequently reapply the theme, any manual formatting is overridden and the shape takes on the all theme's formatting.
Example
Visual Basic for Applications |
---|
|
If the value of CELLISTHEMED is TRUE, the shape takes as the fill foreground color the theme's Accent 2 color. If you subsequently apply a fill color to the shape manually, Microsoft Office Visio sets the value of CELLISTHEMED to FALSE and stores the manually set color in SETATREFEXPR.