Hello,
So I am a total novice with Excel VBA. I am trying to create a scenario where I can extract a particular value (inside an ID tag) from a webpage and display it on a particular cell in my excel worksheet. But it doesn't seem to work. Where am I going wrong? Thanks
Private ch As Selenium.ChromeDriver
Sub Test()
Set ch = New Selenium.ChromeDriver
ch.AddArgument "start-maximized"
ch.Start baseUrl:="https://upxland.me/users"
ch.Get ("/delnia")
Set b = ch.FindElementById("input-87")
Cells(1, 1).Value = b.Text
End Sub
So I am a total novice with Excel VBA. I am trying to create a scenario where I can extract a particular value (inside an ID tag) from a webpage and display it on a particular cell in my excel worksheet. But it doesn't seem to work. Where am I going wrong? Thanks
Private ch As Selenium.ChromeDriver
Sub Test()
Set ch = New Selenium.ChromeDriver
ch.AddArgument "start-maximized"
ch.Start baseUrl:="https://upxland.me/users"
ch.Get ("/delnia")
Set b = ch.FindElementById("input-87")
Cells(1, 1).Value = b.Text
End Sub
Last edited by a moderator: