0
,我得到以下安全警告:VBA擅长禁用Internet Explorer中加载网页时警告HTTPS消息
你想只查看安全传送的网页内容。
此弹出导致我的代码出现错误,有没有办法用vba禁用它?
谢谢。
这里是代码
Sub Start()
Dim ie As New InternetExplorer
Dim doc As HTMLDocument
ie.Visible = True
ie.navigate ("https://mywebsite.com")
ie.FullScreen = True
Do
DoEvents
Loop Until ie.readyState = READYSTATE_COMPLETE
Set doc = ie.document
doc.getElementById("navMenu2").Click