Archive of Mr Excel Message Board
Rows("2:24").Select
Selection.Delete Shift:=xlUp
End Sub
I have over 18000 rows, and to start the sheet off at row 1 I have data followed by data in row 25. The 24 rows are hours in a day. Rows 2-24 have no data except that column "A" is the date column all the way down the sheet. Row 25 resumes with data and then is blank for the next 23 rows, and so on for the remaining 18000 rows. What needs to be done is the deletion of all the rows with no data.
Any suggestions appreciated,
Chris Whisonant

Thanks,
Chris

Chris
If you need a macro :-
Columns("B:B").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
You can do it without a macro by :-
1.Select column B
2.Go to Edit>GoTo>Special>Blanks and click OK
3.Go to Edit>Delete>EntireRow and click OK
Celia
