如何使用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 (将#修改为@)