MapQuest directions

  • Thread starter Christopher Glaeser
  • Start date
C

Christopher Glaeser

I wrote the routine below to open a MapQuest map in a browser. Does anyone
know how to open MapQuest directions in a browser (i.e. directions from one
location to another)?

Best,
Christopher

Sub MapQuest(Address As String, City As String, State As String, ZipCode As
String)

Dim strURL As String

strURL =
"http://www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home"
_
& "&address=" & Address & "&city=" & City & "&state=" & State &
"&zipcode=" & ZipCode

Application.FollowHyperlink strURL

End Sub
 
Top