Bold 属性

       

如果字体设为加粗格式,则该值为 TrueVariant 类型,可读写。

示例

本示例将 Sheet1 的 A1:A5 区域的字体设为加粗。

Worksheets("Sheet1").Range("A1:A5").Font.Bold = True