I have searched and found a lot of references to the web browser control for a user form. I have tried and tried but all I get is a blank webbrowser control.
I have tried the navigate and navigate2 methods and other stuff that you can see that I have commented out. Also, I tried placing the line with the navigate method both before and after the userform.show method. But all I get is a blank web browser on the form.
Here is what (sort of) I have tried:
Code
Sub ShowTheForm()
'Dim myPerm As Office.Permission
'Set myPerm = ThisWorkbook.Permission
'myPerm.EnableTrustedBrowser = True
'Of course this permission stuff was fruitless
UserForm1.Show
WebBrowser1.Navigate "J:\temp\WebBrowser1.html"
'WebBrowser1.Navigate "[URL]file://j:\temp\WebBrowser1_image.jpg[/URL]"
End Sub
Display More
So, what's the trick. All the stuff I found searching the web implies that what I have above should work.
Regards Jim