FontBold Property

Microsoft Word Visual Basic

FontBold Property

       

Read/write MsoTriState.

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

Example

This example sets the font to bold for the third shape on the active document if the shape is WordArt.

Dim docActive As Document

Set docActive = ActiveDocument

With docActive.Shapes(3)
    If .Type = msoTextEffect Then
        .TextEffect.FontBold = msoTrue
    End If
End With