如何解决如何使用VBA在后台运行Internet Explorer
我想在后台运行Internet Explorer。我使用了此脚本,并打开了IE,但它是一个可见的窗口,不能在后台运行。
On Error Resume Next
'Declare a new variable or array variable
Dim ie
'Create an InternetExplorer Object
Set ie = CreateObject("InternetExplorer.Application")
'Set objExplorer.Visible = True to make IE visible,or False for IE to run in the background
ie.Visible = False
'Navigate to Defined URL
ie.Navigate "http://localhost:9090/csv_reader/csv.php"
'Perform IE functions here......
If err.number <> 0 then wscript.echo err.number & ":" & err.description
我在此平台上找到了该脚本。我尝试过,但无法获得正确的结果。谁能纠正这个脚本并向我建议如何解决?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。