Hello!
I have specific problem with my code.
SkillName is my Variable taken from list (item selected in list, works fine)
I know I can add all possible answers one by one like that:
But I need something to work with all variants of possible answers. Something that would check if word "Excel" is inside of SkillName anywhere or not and if yes proceed with that Select Case. Of course there are many other words that will be checked that way in different "Case" after "Excel".
I tired "InStr" and "Like" in many ways, but no matter where I put it, it doesn't work properly.
Please help. Thank you in advance.
I have specific problem with my code.
SkillName is my Variable taken from list (item selected in list, works fine)
I know I can add all possible answers one by one like that:
Code:
Select Case SkillName
Case "Good Excel", "Very good Excel", "Excellent Excel"
-stuff to do-
End Select
But I need something to work with all variants of possible answers. Something that would check if word "Excel" is inside of SkillName anywhere or not and if yes proceed with that Select Case. Of course there are many other words that will be checked that way in different "Case" after "Excel".
I tired "InStr" and "Like" in many ways, but no matter where I put it, it doesn't work properly.
Please help. Thank you in advance.