Deleting multiple rows (2 rows and leave 1)
Closed
dreamer_886
-
20 Oct 2011 à 16:18
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 20 Oct 2011 à 22:23
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 20 Oct 2011 à 22:23
Related:
- Deleting multiple rows (2 rows and leave 1)
- Tentacle locker 2 - Download - Adult games
- Tentacle locker 1 - Download - Adult games
- Saints row 2 cheats - Guide
- Igi 1 - Download - Shooters
- My cute roommate 2 - Download - Adult games
1 response
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
20 Oct 2011 à 22:23
20 Oct 2011 à 22:23
try this macro
Sub test()
Dim j As Long, k As Long
j = Range("A1").End(xlDown).Row
For k = j To 1 Step -1
If k Mod 3 <> 1 Then Cells(k, 1).EntireRow.Delete
Next k
End Sub