Hi All. I'm pretty much a novice - this seems like it should be easy but haven't been able to figure it out...
Here's what I'm working on - it hides rows based on value of column 3
It works fine if cell is "empty" - no value, but doesn't work if it's "blank" - contains formula with null product "". I need it to answer True to Null...
Any help would be much appreciated...
Thanks!
Here's what I'm working on - it hides rows based on value of column 3
Code:
Sub HURowsMaterialOrder() BeginRow = 2
EndRow = 101
ChkCol = 3
For RowCnt = BeginRow To EndRow
If Cells(RowCnt, ChkCol).[COLOR=#ff0000]Value = "" [/COLOR]Then
Cells(RowCnt, ChkCol).EntireRow.Hidden = True
Else
Cells(RowCnt, ChkCol).EntireRow.Hidden = False
End If
Next RowCnt
End Sub
It works fine if cell is "empty" - no value, but doesn't work if it's "blank" - contains formula with null product "". I need it to answer True to Null...
Any help would be much appreciated...
Thanks!