sylvesterbetta
New Member
- Joined
- Nov 29, 2018
- Messages
- 21
Hi guys, I m new to VBA but have some basic of C programming n JavaScript. I encounter the above error. Below are the coding which I had written. Please assist. Thanks.
Sub Address()
Dim IE As InternetExplorer
'start a new browser instance
Set IE = New InternetExplorer
'make browser visible
IE.Visible = True
'navigate to page with needed data
IE.navigate "https://www.streetdirectory.com"
'wait for page to load
Do While IE.Busy = True Or IE.readyState <> 4: DoEvents: Loop
End Sub
Sub Address()
Dim IE As InternetExplorer
'start a new browser instance
Set IE = New InternetExplorer
'make browser visible
IE.Visible = True
'navigate to page with needed data
IE.navigate "https://www.streetdirectory.com"
'wait for page to load
Do While IE.Busy = True Or IE.readyState <> 4: DoEvents: Loop
End Sub