Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

QA0816 003 Document.Links から アンカーテキストをチェックする

Loading...

Sign in or sign up now!
169 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 17, 2009

ヤフースポーツ競馬のURLを取り出す処理。
VBAでIEのリンク操作は http://www.ken3.org/cgi-bin/group/vba_ie_link.asp を見てください。
今回のソースと解説は http://ken3-info.blog.ocn.ne.jp/objie/2009/08/ie_url_c90d.html を 見て笑ってください。。。

Document.Links で リンク情報を取り出せるので、
.Href 'リンク先
.InnerText '内側のテキスト
を使い、If Right(objIE.Document.Links(i).InnerText, 1) = "日" の データを取り込みます。

  • likes, 0 dislikes

Link to this comment:

Share to:

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more