Borders 集合对象

属性 意义
Color 所有边框颜色,如果不同返回 0
ColorIndex 所有边框颜色,如果不同返回 null
LineStyle 线型
Value 同 LineStyle
Weight 线粗
Item(line) 取某一条边框

Weight 可用值

常量 意义

Public Const xlHairline = 1

'

Public Const xlThin = 2

'

Public Const xlMedium = -4138

'

Public Const xlThick = 4

'

line 可用值

常量 意义
Public Const xlInsideHorizontal = 12 '内部水平线
Public Const xlInsideVertical = 11 '内部垂直线
Public Const xlDiagonalDown = 5 '上升斜线
Public Const xlDiagonalUp = 6 '下降斜线
Public Const xlEdgeBottom = 9 '底部边线
Public Const xlEdgeLeft = 7 '左部边线
Public Const xlEdgeRight = 10 '右部边线
Public Const xlEdgeTop = 8 '顶部边线