I have the following code:
Columns("F:F").Select
For Each cell In Selection
Select Case cell
Case InStr(1, cell, ",") <> 0
MsgBox ("found")
Case IsEmpty(cell) Or Null
MsgBox ("empty")
Case Else
Stop
End Select
Next
In column F:F I have the following in order: "Marc Jacobs", "", "Renolds, Bob"
InStr is not finding any of the proper case statements.
- For "Marc Jacobs", I get the Case Else call (Correct call)
- For "", I get the found message (Should be the empty message)
- For "Renolds, Bob", I get the Case Else call (Should get the found message)
Whats going on here?