happynovi Posted August 18, 2012 Posted August 18, 2012 Local $otables = _IETagNameGetCollection($oIE, "table") For $otablet In $otables Local $trs = _IETagNameGetCollection($otable, "tr") For $tr In $trs Local $oLinks = _IELinkGetCollection($tr) For $oLink In $oLinks MsgBox(4096, "test", "Link: " & $l & $oLinks.href) Next Next Nexti want to get specified link from table's column。but my code dosen't work well,it will get all the links from web.thanks everybody to help me.
EKY32 Posted August 19, 2012 Posted August 19, 2012 Maybe using StringInStr function can help. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font]
happynovi Posted August 31, 2012 Author Posted August 31, 2012 thanks eky32 i have solved it. $temp = _IETagNameGetCollection($tr, "a") $temp.href can be used
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now