Share via


Font Object Members

Excel Developer Reference

Contains the font attributes (font name, font size, color, and so on) for an object.

Properties

  Name Description
Bb242260.properties(en-us,office.12).gif Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.
Bb242260.properties(en-us,office.12).gif Background Returns or sets the type of background for text used in charts. Read/write Variant which is set to one of the constants of XlBackground.
Bb242260.properties(en-us,office.12).gif Bold True if the font is bold. Read/write Variant.
Bb242260.properties(en-us,office.12).gif Color Returns or sets the primary color of the object, as shown in the table in the remarks section. Use the RGB function to create a color value. Read/write Variant.
Bb242260.properties(en-us,office.12).gif ColorIndex Returns or sets a Variant value that represents the color of the font.
Bb242260.properties(en-us,office.12).gif FontStyle Returns or sets the font style. Read/write String.
Bb242260.properties(en-us,office.12).gif Italic True if the font style is italic. Read/write Boolean.
Bb242260.properties(en-us,office.12).gif Name Returns or sets a Variant value that represents the name of the object.
Bb242260.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb242260.properties(en-us,office.12).gif Size Read/write
Bb242260.properties(en-us,office.12).gif Strikethrough True if the font is struck through with a horizontal line. Read/write Boolean.
Bb242260.properties(en-us,office.12).gif Subscript True if the font is formatted as subscript. False by default. Read/write Variant.
Bb242260.properties(en-us,office.12).gif Superscript True if the font is formatted as superscript; False by default. Read/write Variant.
Bb242260.properties(en-us,office.12).gif ThemeColor Read/write
Bb242260.properties(en-us,office.12).gif ThemeFont Read/write
Bb242260.properties(en-us,office.12).gif TintAndShade Read/write
Bb242260.properties(en-us,office.12).gif Underline Returns or sets the type of underline applied to the font. Can be one of the following XlUnderlineStyle constants. Read/write Variant.