Help Center

CellFontBoldproperty

Returns or sets the bold style for the current cell text.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY CellFontBold () AS BOOLEAN
PROPERTY CellFontBold (BYREF bBold AS VARIANT_BOOL)

Parameters

NameDescription
bBoldTrue to set the attribute; False, othewise

Description

Returns or sets the bold style for the current cell text.

Examples

grid.Row = 3 ' Set to your row index (0-based) grid.Col = 4 ' Set to your column index (0-based) grid.CellFontBold = True

grid.Row = 3 ' Starting row grid.RowSel = 3 ' Ending row (same as start for one row) grid.Col = 0 ' Starting column grid.ColSel = .Cols - 1 ' Ending column (all columns) grid.FillStyle = flexFillRepeat ' Apply to selection grid.CellFontBold = True

For a single cell

For a range of cells or an entire row

Reference