I am trying to load a .gif image in the webbrowser control of a userform. I can import the .gif from a normal path as seen in the Code1, but I want to navigate to embedded .gif which is "object 6". How do I do it? I tried Code2, but could not. Thank you
Code1:
Private Sub UserForm_Initialize()
Me.WebBrowser1.Navigate2 "C:\Pictures\Splash.gif"
End Sub
Code2
Private Sub UserForm_Initialize()
Me.WebBrowser1.Navigate2 OLEObjects("Object 6")
End Sub