J
John
What code would I use to delete every second Row starting at Row 10 i.e.
delete Row10; 12; 14 etc?
Thanks
delete Row10; 12; 14 etc?
Thanks
Andy Wiggins said:The trick is to start at the bottom and work your way up the dataset.
Sub DeleteRowDemo()
Dim x
For x = 14 To 2 Step -2
Rows(x & ":" & x).Delete
Next
End Sub
--
Regards
Andy Wiggins
www.BygSoftware.com
Home of "Save and BackUp",
"The Excel Auditor" and "Byg Tools for VBA"