2012-10-05 220 views
1

我有以下代码在Internet Explorer中打开一个窗口,并向用户显示进度 。InternetExplorer.Application清除内容

Set objExplorer = CreateObject("InternetExplorer.Application") 
objExplorer.navigate "about:blank" 
objExplorer.document.write "Processing record 1 of 1000" 

我上面的代码,我想清除文件的内容,写别的东西,但是当下面的内容没有得到明确之后。

objExplorer.document.Clear 

有没有办法在不关闭窗口的情况下清除内容?

回答

0

我发现下面的代码可以做到这一点;

objExplorer.Refresh