Function extractChainebleuVague(cel As Range)
Dim i&, str0, r&, g&, b, chaine
For i = 1 To Len(cel)
str0 = Right("000000" & Hex(cel.Characters(Start:=i, Length:=1).Font.Color), 6)
r = CDbl("&H" & Right(str0, 2))
g = CDbl("&H" & Mid(str0, 3, 2))
b = CDbl("&H" & Left(str0, 2))
Debug.Print r & " , " & g & " , " & b
If b > r And b > g Then chaine = chaine & Mid(cel, i, 1) Else chaine = chaine & " "
Next i
extractChainebleuVague = Application.Trim(chaine)
End Function
Sub test()
MsgBox extractChainebleuVague([A1])
End Sub