Table of contents
TOC
Collapse the table of content
Expand the table of content

Font.Bold Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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.

ConstantDescription
msoFalseThe character format is not bold.
msoTriStateMixedThe specified text range contains both bold and nonbold characters.
msoTrueThe 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

© 2018 Microsoft