質問編集履歴
2
修正したソースを補足情報に記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -96,4 +96,44 @@
|
|
96
96
|
|
97
97
|
|
98
98
|
|
99
|
+
修正したソース
|
100
|
+
|
101
|
+
Sub ログイン()
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
Dim objIE As InternetExplorer
|
106
|
+
|
107
|
+
Set objIE = New InternetExplorerMedium
|
108
|
+
|
99
|
-
|
109
|
+
objIE.Visible = True
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
objIE.navigate "https://****"
|
114
|
+
|
115
|
+
Call wait(objIE) 'IEを待機
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
Dim htmlDoc As HTMLDocument 'HTMLドキュメントオブジェクトを準備
|
120
|
+
|
121
|
+
Set htmlDoc = objIE.document 'objIEで読み込まれているHTMLドキュメントをセット
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
'ここに移動しました
|
126
|
+
|
127
|
+
Dim evt As Object
|
128
|
+
|
129
|
+
Set evt = objIE.document.createEvent("HTMLEvents")
|
130
|
+
|
131
|
+
evt.initEvent "change", True, False
|
132
|
+
|
133
|
+
・
|
134
|
+
|
135
|
+
・
|
136
|
+
|
137
|
+
objIE.document.getElementById("add_filter_select").Value = "tracker_id"
|
138
|
+
|
139
|
+
objIE.document.getElementById("add_filter_select").dispatchEvent evt
|
1
質問が不正確ですいません。試した方法でも、createEventの箇所で同じオートメーションエラーが発生しました。
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|