如果指定的艺术字对象中的文字加粗,则该值为 True。MsoTriState 类型,可读写。
MsoTriState 可为以下 MsoTriState 常量之一。 |
msoCTrue |
msoFalse |
msoTriStateMixed |
msoTriStateToggle |
msoTrue 指定的“艺术字”为粗体。 |
expression.FontBold
expression 必需。该表达式返回“应用于”列表中的对象之一。
如果 myDocument
上的图形三是艺术字对象,则本示例将把该对象的字体加粗。
Set myDocument = Worksheets(1)
With myDocument.Shapes(3)
If .Type = msoTextEffect Then
.TextEffect.FontBold = msoTrue
End If
End With