+ Reply to Thread
Results 1 to 2 of 2

Rum-time error 438: Object Doesnot support this property or method

Hybrid View

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    edtr
    MS-Off Ver
    Excel 2003
    Posts
    16

    Rum-time error 438: Object Doesnot support this property or method

    This code will open new IE window and automatically search a home address in the website tool bar and fetch the needed value of property value and rent from the search result. I am getting this error meanwhile:

    Option Explicit
    Sub getrent()
    
    Dim ele As Object
    'Dim i As Long
    Dim IE As Object
    Dim FindHomes As Object
    
    Set IE = CreateObject("InternetExplorer.Application")
    
    
    'For i = 3 To 101
    IE.Visible = True
    
    IE.Navigate "http://www.zillow.com/"
    
    Do While IE.Busy Or _
    IE.readystate <> 4
    DoEvents
    Loop
    
    Set FindHomes = IE.document.getelementsbyname("citystatezip")
    FindHomes.Item(0).Value = "497 North Main Street, PITTSTON, PA"
    IE.document.getElementById("GOButton").Click
    
    
    Do While IE.Busy Or _
    IE.readystate <> 4
    DoEvents
    Loop
    
    'Set ele = IE.document.all
    
    Set ele = IE.document.getelementsbyname("Zestimate")
    
    Workbooks("Book1").Sheets("Sheet1").Cells(6, 6) = ele.Value '----> Error in this line'
    
    'Next
    
    End Sub
    Plus I have one more doubt, as you can see the search result, it has many elements by the name Zestimate, how to I find the particular Zestimate element which is in the bubble over google maps?

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Rum-time error 438: Object Doesnot support this property or method

    hi tkull, option to get Rent for particular address location. Pull down B2 cell to get rents for all the specified addresses.
    Attached Files Attached Files
    Last edited by watersev; 01-14-2013 at 06:46 AM. Reason: file reposted

+ 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