merci
j'ai pris ce code :
Sub Macro1()
Dim MESFEUILLES As Worksheet
For Each MESFEUILLES In Worksheets
MESFEUILLES.Select
On Error Resume Next
A = InputBox("Nom :")
Cells.Find(What:=A, LookAt:=xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=False).Activate
Next MESFEUILLES
End Sub
le pb c'est qu'il scrute les 3 feuilles mais ne m'affiche pas la valeur rentrée dans A.
J'ai fait une recherche par colonne car en fait cela ne concerne que la colonne A de chaque feuille.
une fois qu'il trouve ma valeur A il doit s'arrêter sur la cellule correspondante.
Sachant que A est une valeur unique. Il ne peut y avoir qu'un A existant dans une de mes trois feuilles.(ou la feuile1 ou la feuil2 ou la feuil3)
La variable A est à mettre dans les premières ligne en variable.
Sub Macro1()
Dim MESFEUILLES As Worksheet
Dim MONMOT As String
MONMOT = InputBox("Nom :")
For Each MESFEUILLES In Worksheets
MESFEUILLES.Select
On Error Resume Next
Cells.Find(What:=MONMOT, LookAt:=xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=False).Activate
Next MESFEUILLES
End Sub