I'm searching for a way to use a function (get the coordinates from an address. Here is the code that I am using https://myengineeringworld.net/2014/06/geocoding-using-vba-google-api.html) in a for-loop since I have more than 5000 rows. Is it possible to use the cells(row, col).Value = function. If yes, how can I?
Sub forLoop()
Dim rw as Integer
for rw = 680 to 700
Cells(rw,7). Value = getCoordinates(rw,5) 'in the column 5 I have the adress
next i
End Sub