im trying to get the country from the tr tag but it just gives me the first row of the table how do i scrape a specific row
Sub ipsearch()
Dim x As Integer
x = 2
Do Until x = 4000
Dim ie As New InternetExplorer
ie.navigate "https://whatismyipaddress.com/ip/" & Range("E" & x).Value
Do
DoEvents
Loop Until ie.readyState = READYSTATE_COMPLETE
Dim doc As HTMLDocument
Set doc = ie.document
Dim sDD As String
sDD = Trim(doc.getElementsByTagName("td")(, 0).innerText)
Range("F" & x).Value = sDD
x = x + 1
Loop
End Sub