IncludeFont Property

Applies To

Style object.

Description

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

See Also

Background property, Bold property, Color property, ColorIndex property, FontStyle property, IncludeAlignment property, IncludeBorder property, IncludeNumber property, IncludePatterns property, IncludeProtection property, Italic property, Name property, OutlineFont property, Shadow property, Size property, Strikethrough property, Subscript property, Superscript property, Underline property.

Example

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

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