Hi,
I am trying to extract some text that is displayed on a web page and store it in a string variable. The code I have to open the web page looks like this:
(Wait1Ready loops until the browser is open)
What I need to do is then be able to reference the piece of text which has the source code shown below (I have removed the actual name and id because I'm a little uncertain about my company's policy on this kind of thing):
<spanid="NameID" style="font-size:XX-Large;">Text Displayed on Webpage</</< font color="#0000ff" <>span>
The end result being that I have a line of code as follows:
I really don't know where to start. I have tried a web query, but am limitied to extracting the whole page rather than just the text as highlighted above.
Any help would be hugely appreciated.
H
I am trying to extract some text that is displayed on a web page and store it in a string variable. The code I have to open the web page looks like this:
Code:
Dim oIE1 As Object
Set oIE1 = CreateObject("InternetExplorer.Application")
oIE1.navigate ("myURL")
oIE1.Visible = True
Wait1Ready
(Wait1Ready loops until the browser is open)
What I need to do is then be able to reference the piece of text which has the source code shown below (I have removed the actual name and id because I'm a little uncertain about my company's policy on this kind of thing):
<spanid="NameID" style="font-size:XX-Large;">Text Displayed on Webpage</</< font color="#0000ff" <>span>
The end result being that I have a line of code as follows:
Code:
MyString = "Text From Web Page"<TEXT page Web from>
I really don't know where to start. I have tried a web query, but am limitied to extracting the whole page rather than just the text as highlighted above.
Any help would be hugely appreciated.
H
Last edited: