掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
WebBrowserコントロールで、HTML内のFORMのボタンを制御するには? (ID:107630)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
これではどうでしょうか? Private Sub Command1_Click() Dim IE As Object Set IE = CreateObject("InternetExplorer.Application") With IE .Navigate ("http://mail.yahoo.co.jp/") DoEvents Do While .Busy = True DoEvents Loop .Visible = True Do While .Document.ReadyState <> "complete" DoEvents Loop .Document.Forms(0).Elements("login").Value = CVar("ユーザID") .Document.Forms(0).Elements("passwd").Value = CVar("パスワード") .Document.Forms(0).Elements(".persistent").Click .Document.Forms(0).Elements(16).Click End With Set IE = Nothing End Sub
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2020 Takeshi Okamoto All Rights Reserved.