VBA EXCEL usage.like
Solved
Sansandrine
Posted messages
94
Status
Membre
-
Sansandrine Posted messages 94 Status Membre -
Sansandrine Posted messages 94 Status Membre -
Hello,
I use the formula If range("b2") like "*rdc*" ... to apply formatting to a part when the word rdc appears in the phrase located in B2. But I would like to add a condition like: if there is "rdc" or "etage" or "grenier" and I can't find how to do the "OR" with the like function.
Can someone help me?
Thanks in advance
Configuration: Windows XP / Firefox 3.6.2
I use the formula If range("b2") like "*rdc*" ... to apply formatting to a part when the word rdc appears in the phrase located in B2. But I would like to add a condition like: if there is "rdc" or "etage" or "grenier" and I can't find how to do the "OR" with the like function.
Can someone help me?
Thanks in advance
Configuration: Windows XP / Firefox 3.6.2
I knew that OR was there, but I didn't know how to place it in the sentence...