Partager via


Font.Bold Property (PowerPoint)

Determines whether the character format is bold. Read/write.

Syntax

expression .Bold

expression A variable that represents a Font object.

Return Value

MsoTriState

Remarks

The value of the Bold property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The character format is not bold.

msoTriStateMixed

The specified text range contains both bold and nonbold characters.

msoTrue

The character format is bold.

Example

This example sets characters one through five in the title on slide one to bold.

Set myT = Application.ActivePresentation.Slides(1).Shapes.Title

myT.TextFrame.TextRange.Characters(1, 5).Font.Bold = msoTrue

See Also

Concepts

Font Object

Font Object Members