Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 1022 Bytes

19773cce-32d3-b07f-4650-5a19a4aa469a.md

File metadata and controls

52 lines (27 loc) · 1022 Bytes

TextEffectFormat.FontBold Property (Excel)

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

Syntax

expression . FontBold

expression A variable that represents a TextEffectFormat object.

Remarks

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

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

See also

Concepts

TextEffectFormat Object

Other resources

TextEffectFormat Object Members