constant that represents whether the font for a dropped capital letter or WordArt text effect is bold. Read/write.
MsoTriState can be one of these MsoTriState constants. |
msoCTrue |
msoFalse |
msoTriStateMixed |
msoTriStateToggle |
msoTrue |
expression.FontBold
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example applies bold formatting to the dropped capital letter in the specified text frame. This example assumes that the specified text frame is formatted with a dropped capital letter.
Sub BoldDropCap()
With ActiveDocument.Pages(1).Shapes(1) _
.TextFrame.TextRange.DropCap
.FontBold = msoTrue
.FontColor.RGB = RGB(Red:=150, Green:=50, Blue:=180)
.FontItalic = msoTrue
.FontName = "Script MT Bold"
End With
End Sub