+ Reply to Thread
Results 1 to 2 of 2

Modifying a Lat/Long function to extract ID and Reference from a Google Place query

Hybrid View

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    Bucharest
    MS-Off Ver
    Excel 2010
    Posts
    14

    Modifying a Lat/Long function to extract ID and Reference from a Google Place query

    Hello,

    I have a function and a macro that are using Google Geocode to extract the coordinates for an address within a cell.
    I would like this function modified so that it uses the Google Nearby Search to extract from a link within a cell the ID and Reference of that place.

    The link within the cell is something like this:
    https://maps.googleapis.com/maps/api...YourAPIKeyHere

    The result for ID should be this: 017640196914becd7636d212b4cff247ec36317f

    The result for Reference should be something like this: CnRlAAAAOTVp1uuJM5oZC6jSbQUaj_1oAFlEththZyqIpx85MZXwZtAgqW0Q11dTXnywQEJL0mrBoMAuoprt28GCGC2gXiCUkxOn-8o4T4Eo2kGqvWJXXjxDaJdp9s3prbzmtL4u8UI3V5SUPbmc2omjR6qjTBIQvx_j5lPaAGY1KzmEJE-puhoUjlZDQNYJtqQXlaofog4rrbzYiUc

    From what I figured so far, inserting the link into the macro\function is no big deal, but extracting certain fields from the query result is and I don't know how to do it properly.

    Can anyone help me with this?
    Would really appreciate it.

    This is the documentation link for Google Places API where the list of details for each search is detailed.
    https://developers.google.com/places...tation/details

    Copy of Lat_Long_Google_MAP.xlsm
    Last edited by Eagle29; 07-24-2013 at 06:14 PM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Modifying a Lat/Long function to extract ID and Reference from a Google Place query

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help with modifying the VBA code Extract data
    By honeybunny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2013, 09:10 PM
  2. Looking for VBA macros that extract data from Google finance in MS Excel
    By Ronen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2012, 04:59 AM
  3. Query function from google docs in excel 2011, anyone with a solution?
    By emilero in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-12-2012, 04:04 PM
  4. Formula to extract data from Google?
    By tpir72 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-10-2012, 06:16 PM
  5. Google Earth lat./long. import to Excel
    By PCAg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2012, 10:47 AM

Tags for this Thread

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