.
**Navigate data from web page coding in libre macro as follows:**
Sub navigateurl()
URL = "http://keystonemanagement.com/apartments/me"
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate URL
Do While IE.ReadyState <> 4
DoEvents
Loop
Set propertyname = IE.document.getElementsByTagName("h4")
number = propertyname.Length
For i = 0 To number - 1
ThisComponent.Sheets(0).getCellbyPosition(i, 0) = propertyname(i).innerText
ThisComponent.Sheets(0).getCellbyPosition(i,0) = propertyname(i).getElementsByTagName("a")(0).href
Next i
End Sub
When I run this coding, came error as “BASIC runtime error.Object variable not set.”
How to execute this coding?