Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default 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
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
How can I program excel to shift data up to fill empty cells? Howlingstraycat Excel Discussion (Misc queries) 1 December 23rd 07 12:58 AM
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
Using Excel Auto Fill Mikeytj Excel Discussion (Misc queries) 3 March 9th 06 08:51 PM
Excel formula fill. Help needed... Jim Excel Discussion (Misc queries) 2 May 12th 05 05:51 PM


All times are GMT +1. The time now is 01:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"