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
- Deleting snapchat account - Guide
- How to delete rows and columns in word - Guide
- Deleting trending searches - Guide
- How to add new music to ipod without deleting old - Guide
- Tinder keeps deleting my bio - 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