rng.Borders.xxx的with语句,可以省去一些重复的代码
With rng.Borders
.LineStyle = xlContinuous
.ColorIndex = 3
.Weight = xlThick
End With
rng.Borders.xxx的with语句,可以省去一些重复的代码
With rng.Borders
.LineStyle = xlContinuous
.ColorIndex = 3
.Weight = xlThick
End With