Internet explorer InternetExplorer。应用程序清除内容
我有下面的代码在internet explorer中打开一个窗口并显示进度 给用户Internet explorer InternetExplorer。应用程序清除内容,internet-explorer,vbscript,Internet Explorer,Vbscript,我有下面的代码在internet explorer中打开一个窗口并显示进度 给用户 Set objExplorer = CreateObject("InternetExplorer.Application") objExplorer.navigate "about:blank" objExplorer.document.write "Processing record 1 of 1000" 在上面的代码之后,我想清除文档的内容并编写其他内容,但当下面的内容不清楚时 objExplorer.
Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.navigate "about:blank"
objExplorer.document.write "Processing record 1 of 1000"
在上面的代码之后,我想清除文档的内容并编写其他内容,但当下面的内容不清楚时
objExplorer.document.Clear
有没有一种方法可以在不关闭窗口的情况下清除内容?我发现下面的代码可以做到这一点
objExplorer.Refresh