Option Explicit
Sub GEO_Coder()
Do While ActiveCell.Value <> ""
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://tinygeocoder.com/create-api.php?q=""" & ActiveCell.Value & """", Destination:=Range(ActiveCell.Offset(0, 1).Address))
.Name = "create-api.php?q="" & activecell.value & ""_1"
.Refresh
End With
ActiveCell.Offset(1, 0).Select
Loop
End Sub
Do While ActiveCell.Value <> ""
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://tinygeocoder.com/create-api.php?q=""" & ActiveCell.Value & """", _
Destination:=Range(ActiveCell.Offset(0, 1).Address))
.Name = "create-api.php?q="" & activecell.value"
.RefreshStyle = xlOverwriteCells
.Refresh
End With
ActiveCell.Offset(1, 0).Select
Loop