SM1 = "5000"
SM = "SPOTMARKET"
SM = "*" & SM & "*"
Select Case Cells(H + 2, 24).Value
Case SM,SM1
C(j) = "SPOTMARKET"
End Select
I'm trying to make something like that but the "SM" doesn't work as it suppose to. I want that C(J) = "SPOTMARKET" when Cells(H + 2, 24) has the word spotmarket in it. it could be WRER-SPOTMARKET or the opposite SPOTMARKET-WRER.
This lines are inside For j=0 to XXX and For H=0 to XXX. C is an array.
THANK YOU