Deleting alternae rows
Solved/Closed
abthak
-
Feb 14, 2010 at 03:12 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 14, 2010 at 08:41 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 14, 2010 at 08:41 AM
Related:
- Deleting alternae rows
- How to delete rows and columns in word - Guide
- Deleting skype account - Guide
- Deleting trending searches - Guide
- How to insert multiple rows in microsoft excel - Guide
- How to hide text messages on iphone without deleting them - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Feb 14, 2010 at 07:50 AM
Feb 14, 2010 at 07:50 AM
Sub deleteAlternateRow()
Dim startAtRow, endAtRow, rowCounter As Long
startAtRow = 2
endAtRow = 100
For rowCounter = startAtRow To endAtRow
Rows(rowCounter).Select
Selection.Delete Shift:=xlUp
Next
End Sub
Feb 14, 2010 at 08:23 AM
It has worked.
Thanks a lot. :)
Feb 14, 2010 at 08:41 AM