Style property (Cell object)
Gets the style that contains a Cell object.
Version added
2.0
Syntax
| |
objRet |
A Style object that represents the style containing the cell. |
object |
Required. An expression that returns a Cell object. |
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.