如果指定样式中包含 Color、ColorIndex、LineStyle 和 Weight 边框属性,则该值为 True。Boolean 类型,可读写。
本示例在 Sheet1 的 A1 单元格样式中加入边框格式。
Worksheets("Sheet1").Range("A1").Style.IncludeBorder = True