【发布时间】:2016-12-31 14:33:32
【问题描述】:
【问题讨论】:
-
选择 A 列和 B 列并在 A 列上排序将在这种情况下产生您想要的结果。
-
嗨,eshwar,非常感谢。
【问题讨论】:
这应该做你想做的:
Sub RowKiller()
Dim i As Long, N As Long
N = Cells(Rows.Count, 1).End(xlUp).Row - 1
For i = N To 1 Step -2
Cells(i, 1).EntireRow.Delete
Next i
End Sub
【讨论】: