happynovi Posted August 18, 2012 Share 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. Link to comment Share on other sites More sharing options...
EKY32 Posted August 19, 2012 Share 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] Link to comment Share on other sites More sharing options...
happynovi Posted August 31, 2012 Author Share Posted August 31, 2012 thanks eky32 i have solved it. $temp = _IETagNameGetCollection($tr, "a") $temp.href can be used Link to comment Share on other sites More sharing options...
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