![]() |
Web Browser Control won't refresh
Hello
I have a WebBrowser control on page 1 of a multipage control on a userform. When the userform opens up, it displays an html page in the WebBrowser control. If I move to page2, and then back to page 1, I lose the display- the web browser is empty - in fact you just see the grey background of page1. If i try then to refresh page1, using exactly the same code that was used to initialze the userform, i get an error message: method 'navigate' of object 'IWebBrowser2' failed the code i use to initialize (which does not work to refresh): Dim MyURL As String MyURL = "http://www.xxxx.com" 'replace xxxx Me.WebBrowser1.Navigate MyURL End Sub TIA for any help. |
All times are GMT +1. The time now is 10:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com