Font.FontStyle Property (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets the font style. Read/write String.

expression .FontStyle

expression A variable that represents a Font object.

Changing this property may affect other Font properties (such as Bold and Italic).

This example sets the font style for cell A1 on Sheet1 to bold and italic.

Worksheets("Sheet1").Range("A1").Font.FontStyle = "Bold Italic"

Concepts

Other resources

Show: