TextEffectFormat.FontBold property (Excel)

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

Syntax

expression.FontBold

expression A variable that represents a TextEffectFormat object.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.