Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the font to bold for the specified Word Art shape. Read/write MsoTriState.
Syntax
expression.FontBold
expression A variable that represents a 'TextEffectFormat' object.
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
See also
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.