Here is a peculiar problem:
I have a macro, which copies a table to a new worksheet and pastes all as values. I then need to delete the rows, which contain one or more missing values (i.e. rows containing blank cells.). However, when I use this excellent macro:
Sub DeleteBlankRows2()
'Deletes the entire row within the selection if_
some of the cells WITHIN THE SELECTION contain no data.
On Error Resume Next
Selection.EntireRow.SpecialCells(xlBlanks).EntireRow.Delete
On Error GoTo 0
End Sub
or use the GoTo Blanks Cells function, nothing happens. Excel does not seem to think that the blank cells are actual blank. But after having pressed delete in a blank cell, then that cell is accepted as blank.
What do I do about that? Has anyone ever experienced this?
Thank for your help!
Leon
Bookmarks