lg = .Cells(Rows.Count, 1).End(xlUp).Row
For i = 2 To lg
If .Range("A" & i) <> 0 And .Range("B" & i) <> 0 Then ' Ne traite pas si A=0 ou B=0
Url = DIST & .Range("A" & i).Value & "&destination=" & .Range("B" & i).Value
With CreateObject("WINHTTP.WinHTTPRequest.5.1")
.Open "GET", Url, False
.send
Txt = .responseText
End With
.Range("C" & i).Value = Split(Split(Txt, "id=""distanciaRuta"">")(1), "</strong>")(0)
End If
Next i
End With