How can I delete all blank rows in a spreadsheet without sorting the data as I want it to be in the exact order it is in.
Delete off all blank rows in a spreadsheet
-
-
-
Re: Delete off all blank rows in a spreadsheet
hi,
try this
Public Sub DeleteRowOnCell()
Columns("G:G").Select
On Error Resume Next
Selection.SpecialCells(xlCellTypeBlanks).EntireRow.Delete
ActiveSheet.UsedRange
Range("A1").Select
End Subthis worked for me.
Arun Prathiba -
Re: Delete off all blank rows in a spreadsheet
I pasted it in the macro editor but how do I run it? Does not seem to do anything
-
Re: Delete off all blank rows in a spreadsheet
run this along with your other macro.
it automatically fillters the empty rows.arun prathiba
-
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!