Cell.Style Property

Visio Automation Reference

Gets the style that contains a Cell object. Read-only.

Version Information
 Version Added:  Visio 2.0

Syntax

expression.Style

expression   A variable that represents a Cell object.

Return Value
Style

Remarks

If a style consists of different text, line, and fill styles, the Style property returns the fill style.

If a Cell object is in a style, its Style property returns the style that contains the cell, and its Shape property returns Nothing.

If a Cell object is in a shape, its Shape property returns the shape that contains the cell, and its Style property returns Nothing.

See Also