01-21-2010, 03:47 PM
Thanks Gintaras. I was going to write a function, but didn't know to make it a member function. I made a modification to include the navigation parameter.
Member function HtmlDoc.FindHtmlElement
Then, at the end,
Member function HtmlDoc.FindHtmlElement
and to call it:
Macro Test HTML
That works. Thanks so much!
Member function HtmlDoc.FindHtmlElement
function'MSHTML.IHTMLElement $text [flags] [$tag] [$containerTag] [VARIANT'containerNameOrIndex] [navig] [&index]
;;flags: 0 exact, 1 contains, 2 wildcard, 3 regex, 4 in HTML
Member function HtmlDoc.FindHtmlElement
if (navig)
,el=this.GetHtmlElement("" el.sourceIndex+navig)
MSHTML.IHTMLElement el2=el
ret el2
err+ end _error
Macro Test HTML
That works. Thanks so much!