Compartir a través de


Style.IncludeFont Property (Excel)

True if the style includes the Background, Bold, Color, ColorIndex, FontStyle, Italic, Name, Size, Strikethrough, Subscript, Superscript, and Underline font properties. Read/write Boolean.

Syntax

expression .IncludeFont

expression A variable that represents a Style object.

Example

This example sets the style attached to cell A1 on Sheet1 to include font format.

Worksheets("Sheet1").Range("A1").Style.IncludeFont = True

See Also

Concepts

Style Object

Style Object Members