Salut Isabelle,
@Steelson, merci de m'avoir laissé cette bouillabaisse de code! Je partage, tu sais!
Voici ta macro en ordre de marche! Je te laisse le soin de compléter et de déterminer l'exactitude de ta pêche aux infos!
Private Sub Worksheet_Change(ByVal Target As Range)
'
Dim sWk As Worksheet
Dim rCel As Range
'
Application.EnableEvents = False
'
If Target.Address = [D3].Address Then
Range("A27:E43").ClearContents
Range("D5:E10").ClearContents
Range("A11:C16").ClearContents
Range("B59:D59").ClearContents
'
sFlag = Target.Value
For Each sWk In ThisWorkbook.Worksheets
If sWk.Name <> "BDC" And sWk.Name <> "Frs" Then
iRow = sWk.Range("A" & Rows.Count).End(xlUp).Row
Set rCel = sWk.Range("A2:A" & iRow).Find(sFlag, LookIn:=xlValues, lookat:=xlWhole)
If Not rCel Is Nothing Then
iLig = rCel.Row
Cells(27, 1) = sWk.Name
Cells(5, 4) = sWk.Cells(iLig, 6)
Cells(29, 1) = sWk.Cells(iLig, 8)
Cells(13, 5) = sWk.Cells(iLig, 4)
Cells(11, 1) = sWk.Cells(iLig, 9)
Cells(16, 1) = sWk.Cells(iLig, 5)
Cells(17, 1) = "Direction : " & sWk.Cells(iLig, 2)
Cells(56, 2) = Cells(16, 1)
Cells(57, 2) = Cells(17, 1)
Cells(58, 3) = [D3]
Cells(29, 5) = sWk.Cells(iLig, 20)
Cells(59, 3) = sWk.Cells(iLig, 11)
Exit For
End If
End If
Next
End If
'
Application.EnableEvents = True
'
End Sub
Bonne année 2017!
Bon travail!
A+