Tag: reset

VBA Excel WebBrowser如何重置ReadyState之前。从代码中点击?

我有类似的代码在Excel VBA与WebBrowser控件插入一个窗体中: basePath = "http://www.amazon.co.uk/" ' Open main website (Home page) WebBrowser.Navigate basePath PauseTime = 30 ' Set duration to wait in seconds. Start = Timer ' Set start time. Do ' While Timer < Start + PauseTime DoEvents ' allow other processes to work (the browser to have time to load the webpage) Loop […]