EXCEL VBA CALCULATE DISTANCE BETWEEN TWO ADDRESSES

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
2.94K views
0

How do I call this function with a value from another cell?

Cells
A1 = Chicago
A2 = IL
B1 = New York
B2 = New York

=GetDistance(A1,A2,B1,B2) returns formatting error.

Thanks in advance

-rp

Simply the best place to learn Excel VBA