Thread: HTML Span
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] k3holdings@gmail.com is offline
external usenet poster
 
Posts: 11
Default HTML Span

Hey,

I am trying to search the source code of a web page for a specific
span. I can use

objIE = CreateObject("InternetExplorer.Application")

objIE.document.Links.href

to find a link but I'm wondering if there is a way to do something
like

objIE.document.span("lblOwnersVal").Name

This is what the span looks like in the source code. I want to search
by the span ID and
return the name DOE, JOHN

<span id="lblOwnersVal" tabindex="-1" class="parceldetail"
style="height:10px;width:280px;Z-INDEX: 101; LEFT: 184px; POSITION:
absolute; TOP: 352px"DOE, JOHN </span

Any help would be appreciated.

Thanks,
Kyle