Bold Property

Microsoft PowerPoint Visual Basic

Bold Property

       

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

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse The character format is not bold.
msoTriStateMixed The specified text range contains both bold and nonbold characters.
msoTriStateToggle
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