.Range(.Cells(1, 1), .Cells(3, 3)).BorderAround LineStyle:=xlContinuous, Weight:=xlHairline
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideHorizontal).LineStyle = xlContinuous
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideHorizontal).Weight = xlHairline
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideVertical).LineStyle = xlContinuous
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideVertical).Weight = xlHairline
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideHorizontal).LineStyle = xlContinuous
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideHorizontal).Weight = xlHairline
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideVertical).LineStyle = xlContinuous
.Range(.Cells(1, 1), .Cells(3, 3)).Borders(xlInsideVertical).Weight = xlHairline
...
End With
....
End With
这条语句执行不过去,vb提示“类的range的borderaround方法无效”
请问如何解决?