FontBold Property

Microsoft Excel Visual Basic

FontBold Property

       

True if the font in the specified WordArt is bold. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue The specified WordArt is bold.

expression.FontBold

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the font to bold for shape three on myDocument if the shape is WordArt.

Set myDocument = Worksheets(1)
With myDocument.Shapes(3)
    If .Type = msoTextEffect Then
        .TextEffect.FontBold = msoTrue
    End If
End With