Sub PositionserveurIP()
url = "http://ip-api.com/json/"
On Error Resume Next
With CreateObject("MSXML2.XMLHTTP")
.Open "GET", url, False
.Send
Résultat = Split(.responseText, ",")
For i = 0 To UBound(Résultat)
Mat = Split(Résultat(i), ":")
Cells(i + 1, "A") = Replace(Mat(0), """", "")
Cells(i + 1, "B") = Replace(Mat(1), """", "")
Next i
End With
End Sub