Cell has =+IF(A21<=$A$20,VLOOKUP(A21,Inputs!$N$17:$O$26,2,FALSE),"") in it; however, when the cell is false and turns out "", which is nothing in the cell, how do I hide/delete the rows?
Code
Sub Delete_Blank_Rows()
On Error Resume Next
With Range("B20:B29")
.Value = .Value
.SpecialCells(xlCellTypeBlanks).EntierRow.Delete
End With
End Sub
**Code 2 I tried**
Sub E_Hide_Rows()
Worksheets("Zone Pricing").Select
Range("$B$20:$B$29").AutoFilter 1, "<>", , , False
Worksheets("Zone Pricing").Select
Range("$I$34:$I$43").AutoFilter 1, "<>", , , False
End Sub
Display More