Returns or sets the three-dimensional style for text on a specific cell or range of cells. TextStyle determines the style of regular Grid cells.
object.TextStyle[= style ]
The TextStyle property syntax have these parts:
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
style | Integer or constant that specifies the text style, as described in Settings. |
Settings for style are:
Value | Description |
---|---|
0 | Flat (normal text) |
1 | Raised |
2 | Inset |
3 | Raised Light |
4 | Inset Light |
Settings 1 and 2 work best for large and bold fonts. Settings 3 and 4 work best for small regular fonts.