Now, I suppose I am getting more stupid as I age, but I must be missing the obvious.
This works if its either one of the string matches, which is a desired operation:
If VarD = "GqrNrmcZyTvqG67B" Or VarD = "E4YhdpBsQ88jWR6p" Then
However, I am trying to do a return if VarD does not contain either one of those, like this:
If VarD <> "GqrNrmcZyTvqG67B" Or VarD <> "E4YhdpBsQ88jWR6p" Then Return
But, it doesnt work. it returns regardless if VarD has either one of the strings.
I want it to work like this: If VarD doesn't contain either of those strings exactly as they are, then return.
Thoughts?
?