2010-02-19 123 views

回答

4

通过使用便利命名的方法。

Dim i As Long 

For i = 1 To 10 Step 2 
    Me.Range(Me.Cells(i, 1), Me.Cells(i + 1, 10)).BorderAround xlSolid, xlMedium 
Next 
+0

谢谢你。非常感激。 – Kojof 2010-02-19 17:03:07

相关问题