Thanks Romper,
I'm not strong enough with Dictionaries to feel comfortable.
I ended up replacing zero's and non-numeric with "Blank" and filtering "<>Blank"
Not great and I think using 2 criteria or criteria array would be faster, but this does work.
thx
w
'Determine rows on retrieve sheet
lngRowsRetrieve = GetLast(ws:=wsRtrv, _
RC:="r") - 1
'Create range for replacements
With wsRtrv
Set rngReplace = .range(.Cells(7, 2), .Cells(lngRowsRetrieve, 2))
End With
'Replace zero's and alpha's
For Each C In rngReplace
If C.Value = 0 Or Not IsNumeric(C.Value) Then
C.Value = "Blank"
End If
Next C
'Create range for filter
With wsRtrv
Set rngFilter = .range(.Cells(6, 1), .Cells(lngRowsRetrieve, 2))
End With
'Filter out "Blank"
rngFilter.AutoFilter _
Field:=2, _
Criteria1:="<>Blank", _
VisibleDropDown:=True
Bookmarks