I am having issues getting my Macro to return the full number when combined with a Google Distance Matrix.
For Example:
10887 Clyde St., Howell, WA
28047 Fir Avenue, Novi, MI
This should return a mileage of over 1000 but my Macro only returns a 1. This happens with any number over 999.
I have attached my Macro.
The function is =getdistance(originaddress,destinationaddress)
[/CODE]
I am pretty sure the problem lies in the Set regex = CreateObject("VBScript.RegExp"): regex.Pattern = ""text"".*?([0-9]+)":
Bookmarks