level 1
san_sino
楼主
各位好,这里有一段关于设置单元格的代码,他们设置边框的内容是一样的,怎么改能更简单些阿,谢谢了~! Range("B4:C12,E4:F10").Select With Selection.Borders(xlEdgeLeft) .LineStyle = xlDouble .Weight = xlThick .ColorIndex = 22 End With With Selection.Borders(xlEdgeBottom) .LineStyle = xlDouble .Weight = xlThick .ColorIndex = 22 End With With Selection.Borders(xlEdgeRight) .LineStyle = xlDouble .Weight = xlThick .ColorIndex = 22 End With
2007年08月28日 07点08分
1