ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Auto Fill Program needed to get maps from internet onto excel (https://www.excelbanter.com/excel-programming/271057-auto-fill-program-needed-get-maps-internet-onto-excel.html)

Tricia[_2_]

Auto Fill Program needed to get maps from internet onto excel
 
Ok, first let me tell you that this isn't something I
need so that I can register a thousand times to websites
or whatever that problem they have with auto-fill stuff..

What I am working on is a database of 123 computer
stores, and along with all the other store information -
we are talking a complete program for a regional manager-
I need to have MAPS and directions for each store. There
has to be a better way than doing all this manually. I
was asked to use MAPQUEST.com, but will use what works
best.

SO.. Does anyone know how I could make a formula that
would enable the user to click on a hyperlink I have on
each stores page that would bring them to mapquest (or
whatever), auto-fill in the starting point and the ending
point just by taking the info. from the cells which have
the addresses in them??

I hope SOMEONE can help! I am desperate here!!

Tricia

Chong Moua

Auto Fill Program needed to get maps from internet onto excel
 
Hi Tricia,

Try this... This will not get you what you want, but it'll
give you an idea. Below only shows a map of the
destination point from MapQuest. I'm sure you could use a
starting/ending point to get driving directions as well.
-----------------------------------------------
'MapQuest link will be placed on cell A1
'Enter street address on cell A2
'Enter city on cell A3
'Enter state on cell A4
'Enter zip code on cell A5

Sub MapQuest()

Range("A1").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, _
Address:="http://www.mapquest.com/maps/map.adp?
country=US&addtohistory=&address=" & [A2] & "&city=" &
[A3] & "&state=" & [A4] & "&zipcode=" & [A5]
& "&homesubmit=Get+Map" _
, TextToDisplay:="Get Map"

End Sub
--------------------------------
Hope this helps...

Chong Moua


-----Original Message-----
Ok, first let me tell you that this isn't something I
need so that I can register a thousand times to websites
or whatever that problem they have with auto-fill stuff..

What I am working on is a database of 123 computer
stores, and along with all the other store information -
we are talking a complete program for a regional manager-
I need to have MAPS and directions for each store. There
has to be a better way than doing all this manually. I
was asked to use MAPQUEST.com, but will use what works
best.

SO.. Does anyone know how I could make a formula that
would enable the user to click on a hyperlink I have on
each stores page that would bring them to mapquest (or
whatever), auto-fill in the starting point and the ending
point just by taking the info. from the cells which have
the addresses in them??

I hope SOMEONE can help! I am desperate here!!

Tricia
.



All times are GMT +1. The time now is 10:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com