Bonjour,
voici une adaptation de la macro, ça devrait fonctionner
Sub aargh()
col = "I"
Columns(col).Replace "<polygon id=", "<path id=", xlPart
Columns(col).Replace "points=""", "D=""M", xlPart
For i = 1 To Cells(Rows.Count, col).End(xlUp).Row
texte = Cells(i, col)
If texte <> "" Then
texte = Split(texte, """")(1)
texte = Split(texte, "_")
texte = texte(UBound(texte))
If EstMajuscule(texte) Then Cells(i, 1) = texte
End If
Next i
End Sub
Function EstMajuscule(tx)
For i = 1 To Len(t)
ch = Mid(t, i, 1)
If (ch < "A" Or ch > "Z") And ch <> "-" And ch <> "'" Then EstMajuscule = False: Exit Function
Next i
EstMajuscule = True
End Function