+ Reply to Thread
Results 1 to 4 of 4

how to open Google Maps site to specific location, using FollowHyperlink?

  1. #1
    Registered User
    Join Date
    11-23-2019
    Location
    Nor Cal
    MS-Off Ver
    2010
    Posts
    3

    how to open Google Maps site to specific location, using FollowHyperlink?

    I'm trying to open a browser to Google Maps, at a location specified by the variable strCoords. The location needs to be marked with a pin, zoom set to level 15, and terrain turned on.

    Here's my existing code. I can currently do one or the other, but not both combined. I've attached the code in a text document.

    I guess this is more of a Google Maps question than VBA, but thanks in advance for your help!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2019 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    32,776

    Re: how to open Google Maps site to specific location, using FollowHyperlink?

    You have posted in the Access Database section. How exactly are you using this code?

    I am moving the thread to a more appropriate section.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    11-23-2019
    Location
    Nor Cal
    MS-Off Ver
    2010
    Posts
    3

    Re: how to open Google Maps site to specific location, using FollowHyperlink?

    I created an Access 2010 database to track archaeological sites, including a field named Degrees, which holds longitude/latitude in a string format. I put a button called Google Maps on one form, which opens the user's browser to Google Maps and the location specified by Degrees. When looking for help with this task, this site came up at the top of the search results. Even though it is an Excel site, Excel is my friend, so I figured I might as well check out the expertise on this site, see what you guys have to offer.

    Still looking for a solution, but at least I figured out how to attach code to my message. Thanks for pointing me in the right direction.

  4. #4
    Registered User
    Join Date
    11-23-2019
    Location
    Nor Cal
    MS-Off Ver
    2010
    Posts
    3

    Re: how to open Google Maps site to specific location, using FollowHyperlink?

    Access/VBA section isn't the spot to post VBA code being used in Access on a PC? What does "platform" mean?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 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