+ Reply to Thread
Results 1 to 13 of 13

VBA to Query Zillow Website

  1. #1
    Registered User
    Join Date
    04-08-2011
    Location
    London
    MS-Off Ver
    O 365
    Posts
    80

    VBA to Query Zillow Website

    For the VBA Guru's Out There:

    I have a VBA model that used to work properly, but recent changes to the layout of the Zillow.com website have left me needing to update my code. Attached is a workbook that I use to pull in property values for homes. PLEASE HELP!
    Attached Files Attached Files

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

    Re: VBA to Query Zillow Website

    This code is written by Leith Ross.
    As you find out, the site has changed. Your code find not find any data with h1 as there is none. I have tried to find out how to correct it, but I am unable to see on the home page (homes). Where do you put it the search item (Address) on the search box. If you can see where the data are (On the page), I will try to adjust it.
    Last edited by AB33; 08-25-2016 at 01:45 PM.

  3. #3
    Registered User
    Join Date
    04-08-2011
    Location
    London
    MS-Off Ver
    O 365
    Posts
    80

    Re: VBA to Query Zillow Website

    Correct, but I haven't been able to reach him to try and edit what he had started. I've made several edits in an attempt to get it working again, but continuous changes with the sites layout seems to keep me one step behind. As for the layout of the site, when you first go to www.zillow.com, there's a floating search box that says "Enter an address, neighborhood, city or Zip Code. Taking an address from the workbook and inserting it into that search box, will bring you to a screen that has a "Zestimate", which is really all of the information I need. Previously the code included bringing back various other information, such as the number of bedrooms and baths, but the Zestimate is really all that's needed.

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

    Re: VBA to Query Zillow Website

    The first 4 columns are on now H3. There are no dl and dt
    Perhaps you can post on this thread, so as Leith will see the reply.

    http://www.excelforum.com/excel-prog...-zip-code.html
    If he has not come back to you by the end of tomorrow , I will try to write my own.

  5. #5
    Registered User
    Join Date
    04-08-2011
    Location
    London
    MS-Off Ver
    O 365
    Posts
    80

    Re: VBA to Query Zillow Website

    I went ahead and replied to the previous thread, and will wait a response.

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

    Re: VBA to Query Zillow Website

    I know now why Leith is reluctant or keen to update the code. It has consumed my entire day on adjusting and testing it. I am sure, Leith, would have done much better job than I did, as he has a good grasp of the HTML language. The code takes at least an hour to run on 2654 odd rows. I have included a separate code, as your code has lots of other stuff on it. Your code runs auto as the workbook opens up and does throw an error, but I have manually run it and got all the data (I hope the right data).
    I will try to improve the code as I learn more about HTML language, but for now, I have given you all I had.
    Attached Files Attached Files
    Last edited by AB33; 08-28-2016 at 11:50 AM.

  7. #7
    Registered User
    Join Date
    04-08-2011
    Location
    London
    MS-Off Ver
    O 365
    Posts
    80

    Re: VBA to Query Zillow Website

    To say that you're an absolute VBA magician, would be a gross understatement. I can't begin to thank you enough, as this has been a missing element to our business for quite some time now. Thank you!!!!!

  8. #8
    Registered User
    Join Date
    12-28-2016
    Location
    Costa Rica
    MS-Off Ver
    2016
    Posts
    1

    Re: VBA to Query Zillow Website

    I couldn't get it to work, but the layout of this thing is incredible <3

  9. #9
    Registered User
    Join Date
    01-25-2017
    Location
    Florida
    MS-Off Ver
    2016
    Posts
    1

    Re: VBA to Query Zillow Website

    I couldn't get it to work either, but would like to... has anyone had any luck?

    - Mike
    (Excel Novice)

  10. #10
    Registered User
    Join Date
    04-08-2011
    Location
    London
    MS-Off Ver
    O 365
    Posts
    80

    Re: VBA to Query Zillow Website

    Greetings Obi-Wan! I attempted to get an updated report on our Mortgage portfolio, and every entry pulled in states "Not listed with Zillow". I'm guessing the evil emperors at Zillow rearranged some of the objects on their website. If you happen to have a little time that you could spare, would you PLEASE see if it might be something that is an "easy" fix?

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

    Re: VBA to Query Zillow Website

    Zillow has a free API. You do not need to rely on HTML's content. There is a code with API on this site. Just do a search on this site. The guy who wrote the code has a link to his site. In fact, he has included his free API's on the code. I do not think he is aware of it.

  12. #12
    Registered User
    Join Date
    11-10-2019
    Location
    US
    MS-Off Ver
    2013
    Posts
    3

    Re: VBA to Query Zillow Website

    When I select the range (let's say the first 5 properties on the tab) and hit Ctrl+R, I get an ""ERROR: # 80070005 - Access is denied." error message. I'm running Excel 2010 with all updates/patches.

    Thank you.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: VBA to Query Zillow Website

    Quote Originally Posted by givanov View Post
    When I select the range (let's say the first 5 properties on the tab) and hit Ctrl+R, I get an ""ERROR: # 80070005 - Access is denied." error message. I'm running Excel 2010 with all updates/patches.

    Thank you.
    As you have already noticed on both other threads that you hijacked, this is not permitted on this forum.

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Web query to import only limited information from website
    By boomtown25 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-18-2014, 06:04 PM
  2. VBA login to website already but web query didn't know
    By wallstudio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-06-2012, 01:14 PM
  3. Web query(macro) from website help
    By SimonLee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2011, 04:24 AM
  4. Web Query Not Working for this website
    By robgrant in forum Excel General
    Replies: 0
    Last Post: 06-08-2010, 03:12 PM
  5. Web Query, specific to website
    By Ada01 in forum Excel General
    Replies: 0
    Last Post: 03-11-2010, 12:48 PM
  6. Website Query Help
    By lordofk in forum Excel General
    Replies: 1
    Last Post: 02-05-2010, 04:58 PM
  7. [SOLVED] [SOLVED] How do I query a website
    By bill in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2005, 07:06 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