Comment rechrcher si une chaine de caractère existe dans le texte d'une cellule?
Comment connaitre sa position exacte?
Merci
Version imprimable
Comment rechrcher si une chaine de caractère existe dans le texte d'une cellule?
Comment connaitre sa position exacte?
Merci
Regarde l'aide sur Instr()
bonjour
j'espere que cet exemple pourra t'aider
Code:
1
2
3 Dim x As Long x = InStr(1, Range("D2"), "motClé") If x > 0 Then MsgBox "le mot recherché commence au caractere " & x
bonne journée
michel