【发布时间】:2015-11-19 02:16:13
【问题描述】:
以下代码出错:
Sub test()
Set ie = CreateObject("InternetExplorer.application")
ie.Visible = True
ie.navigate ("http://www.siteminder.com" & ActiveCell)
Do
If ie.readyState = 4 Then
ie.Visible = True
Exit Do
Else
DoEvents
End If
Loop
ie.document.forms(0).all("User").Value = "me"
ie.document.forms(0).all("Password").Value = "mypasssword"
ie.document.forms(0).submit
End Sub
出现线路错误:If ie.readyState = 4 Then
【问题讨论】:
标签: vba