Returns or sets the three-dimensional style for text in a specific cell or range of cells. This property is not available at design time.
Syntax
object.CellTextStyle [=value]
The CellTextStyle property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | An integer or constant that specifies one of the constants of the CellTextStyle property, as described in Settings. |
Settings
The settings for value are:
Constant | Value | Description |
flexTextFlat | 0 | Default. The text is normal, flat text. |
flexTextRaised | 1 | The text appears raised. |
flexTextInset | 2 | The text appears inset. |
flexTextRaisedLight | 3 | The text appears slightly raised. |
flexTextInsetLight | 4 | The text appears slightly inset. |
Remarks
Settings 1 and 2 work best for large and bold fonts. Settings 3 and 4 work best for small regular fonts. The cell's appearance is also affected by the BackColor settings; some BackColor settings do not show the raised or inset feature.
Changing this property affects the current cell or the current selection, depending on the setting of the FillStyle property.