+ Reply to Thread
Results 1 to 7 of 7

hyperlink for google maps

  1. #1
    Registered User
    Join Date
    10-18-2011
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    hyperlink for google maps

    I am attempting to create a formula with the data setup in the field below to view in Google maps. I have thousands of addresses that I need to reference with google maps. I would appreciate any help to get me through this project. Thanks in advance. Tom

    A B C D E
    Downing Street 107 Buffalo New York

    Cell A Downing (Street Name)
    Cell B Street (Street Type)
    Cell C 107 (Address Number)
    Cell D Buffalo (City)
    Cell E New York (State)
    Last edited by [email protected]; 10-18-2011 at 08:39 AM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: hyperlink for google maps

    Try something like this:

    =HYPERLINK("http://maps.google.com/maps?q="&SUBSTITUTE(A1&"+"&B1&"+"&C1&"+"&D1&"+"&E1," ","+"))

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    10-18-2011
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: hyperlink for google maps

    Thank you so much. Can that be imported into an access database for use? Its works great in excel but when I create a new hyperlink field in access it does not work. Appreciate your help. Thanks. Tom

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: hyperlink for google maps

    Not sure really but I'd assume so. I don't use Access much.

    Dom

  5. #5
    Registered User
    Join Date
    04-16-2013
    Location
    Brisbane
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: hyperlink for google maps

    Hi, thanks for putting that formula up. One further question though - can you adjust the standard zoom level of Google Maps when you click on it?
    I used your formula and the link view was too wide as standard. Thanks in advance.

  6. #6
    Registered User
    Join Date
    05-06-2013
    Location
    Vacaville, California
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: hyperlink for google maps

    Hi there,

    This reply is in regard to the Access question above. I’ve successfully created a Google Maps button for an application I designed.
    It may be more cumbersome than required, but it works…

    On my form I have a mess of textboxes, then a button that’s a follow hyperlink of the concatenated website address. (To and from directions).

    Self explanatory textboxes (user inputs variables):
    [PickUpAddress]
    [PickUpCity]
    [PickUpState]
    [DropOffAddress]
    [DropOffCity]
    [DropOffState]

    Static textboxes:
    [BeginHTTP] =http://maps.google.com/maps?f=d&source=s_d&saddr=

    [MiddleHTTP]="&daddr="

    [COMPLETEADDY]=([BeginHTTP] & [PickUpAddress] & ", " & [PickUpCity] & ", " & [PickUpState] & [MiddleHTTP] & [DropOffAddress] & ", " & [DropOffCity] & "," & [DropOffState])

    Button: OnClick [event procedure]:

    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,594

    Re: hyperlink for google maps

    Welcome to the Forum.

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1