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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top