Basically I have a list of values which I want my code to search by dependant upon which is chosen. I have this working fine, for each specific value chosen, as well as when there is no value in the searched cell. However I also to be able to look for all values but can't figure out how script this.
the code at the moment looks like this
The not empty part does not work though.
the code later says
where rng, STE & SIT are all Strings
the code at the moment looks like this
Code:
STE = cbo1.Value
If STE = "All" Then
SIT = Not Empty
Else
If STE = "None" Then
SIT = ""
Else
SIT = STE
End If
End If
The not empty part does not work though.
the code later says
Code:
Do
if rng.offset(, -19) = SIT Then
'Actions
where rng, STE & SIT are all Strings