+ Reply to Thread
Results 1 to 6 of 6

Using VBA for extracting data from specific Google Searches

  1. #1
    Registered User
    Join Date
    09-01-2016
    Location
    England
    MS-Off Ver
    Office 2016
    Posts
    11

    Using VBA for extracting data from specific Google Searches

    Hello all,

    I am looking for a code that uses the data in cells to do a Google Search and then resultantly extract the Address and Telephone of a company.

    Upon some sample searches, I have found that the majority of these companies appear first time with the 'Business Details' box at the side of Google. This is the data I would like extracted into Excel.

    Please let me know if anything is unclear and as always, I appreciate your help!

    Many thanks.
    Attached Files Attached Files
    Last edited by cfc06; 09-14-2016 at 07:30 AM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Using VBA for extracting data from specific Google Searches

    Please attach an excel sample book with a desired result. Let's column A has the search items, columns B and C should show your desired out put for each search item on column A.

  3. #3
    Registered User
    Join Date
    09-01-2016
    Location
    England
    MS-Off Ver
    Office 2016
    Posts
    11

    Re: Using VBA for extracting data from specific Google Searches

    Hi AB - thank you for replying. I have attached a sample.

    Additionally, here is an image of where I would like the data to come from (if it helps)

    KFC Example.JPG

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Using VBA for extracting data from specific Google Searches

    Okay! Will do it after lunch.

  5. #5
    Registered User
    Join Date
    09-01-2016
    Location
    England
    MS-Off Ver
    Office 2016
    Posts
    11

    Re: Using VBA for extracting data from specific Google Searches

    Thanks AB - I look forward to seeing it

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Using VBA for extracting data from specific Google Searches

    I am unable to use HTTP object, so I settled down with IE, which is crap to be honest with you, but you can use until I find why my HTTP is not working. I have to include a 5 seconds wait unit it jumps to the next cell. Try it and see if it works on your actual data.
    Your cursor has to be on the active sheet before you run the code.
    Attached Files Attached Files

+ 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. Is there a way to automate google searches into excel?
    By Marine27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2016, 04:18 PM
  2. [SOLVED] VBA code that searches multiple worksheets in a workbk and returns specific data to sheet
    By SKooLZ in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2015, 03:30 AM
  3. [SOLVED] VBA macro that searches multiple worksheets in a workbk and returns specific data to sheet
    By SKooLZ in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-17-2015, 04:42 PM
  4. Extracting web results for multiple searches
    By lonctp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2014, 07:03 AM
  5. Is there a way to automate google searches into excel?
    By bxc2739 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-25-2013, 02:31 AM
  6. Extracting data from yahoo/google finance to excel
    By wallstreetballa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2013, 10:24 PM
  7. Extracting MetaTags & Google Rankings
    By excelkid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-22-2011, 07:44 AM

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