Super merci pour ton retour.
J'avais une autre question du coup maintenant ^^
J'ai fais un bout de VB qui fait ceci :
Dim TypeBloc As String
Dim nbLignes As Integer
nbLignes = Range("A2", Selection.End(xlDown)).Cells.Count
For I = 1 To nbLignes
' Analyse du Type de bloc
If Range("A" & I) Like "*TYPE*" Then
TypeBloc = Range("B" & I).Value
'Test du type de bloc
If TypeBloc = "AIN" Then GoTo Extract_AIN
End If
If TypeBloc = "PIDA" Then GoTo Extract_PID
End If
Next I
Mais ça ne fonctionne pas, erreur de compilation : end if sans bloc if
Saurais tu me dire ce qui coince ?
Merci encore pour ton aide précieuse