D
daphoenix
I have blank rows that I want to remove from the worksheet, i use the
following code to do that, but it does not delete the rows in which the cells
of the row have a function. I have a function that returns a value, if it
does not return the value it is blank.
Public Sub DeleteBlankRows()
On Error Resume Next
Columns(2).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
On Error GoTo 0
End Sub
I would like to know if there is a way to delete those rows with the blank
functions?
following code to do that, but it does not delete the rows in which the cells
of the row have a function. I have a function that returns a value, if it
does not return the value it is blank.
Public Sub DeleteBlankRows()
On Error Resume Next
Columns(2).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
On Error GoTo 0
End Sub
I would like to know if there is a way to delete those rows with the blank
functions?