Press Window.close () on the page that is not JS open, there will be a prompt box, I am annoying, now you can do it, no prompt box directly close the window. Try the following code: Object> Try to change the parameters to get some other features: webbrowser.execwb (1, 1) Open WebBrowser.execwb (2, 1) Close all IE windows now and open a new window WebBrowser.execwb (4, 1) Save web webbrowser.execwb (6, 1) Print WebBrowser.execwb (7, 1) Print WebBrowser.execwb (8, 1) Print The page settings WebBrowser.execwb (10, 1) View page attributes WebBrowser.execwb (15, 1) seems to be revoked, to confirm WebBrowser.execwb (17, 1) WebBrowser.execwb (22, 1) refresh webbrowser.execwb 45, 1) Close Form No Tips These are only valid for IE5.5 or higher, I was tested under IE6, passed.