madnan739
02-07-2011, 03:14 PM
Hi,
I have to open hyperlinks in Word 2007 document in new instance of IE in a smaller window when the user click on it.
For new creating IE instance I am using this code
Sub AutoOpen()
Dim Browser As Object
Set Browser = CreateObject("InternetExplorer.Application")
Browser.StatusBar = False
Browser.Width = 300
Browser.Height = 400
Browser.Left = 0
Browser.Top = 0
Browser.Visible = True
End Sub
Now how can I associate this object with hyperlinks in my word document so that when the user clicks on a hyperlink it will open in new 'Browser' instance as specified above.
thanks
I have to open hyperlinks in Word 2007 document in new instance of IE in a smaller window when the user click on it.
For new creating IE instance I am using this code
Sub AutoOpen()
Dim Browser As Object
Set Browser = CreateObject("InternetExplorer.Application")
Browser.StatusBar = False
Browser.Width = 300
Browser.Height = 400
Browser.Left = 0
Browser.Top = 0
Browser.Visible = True
End Sub
Now how can I associate this object with hyperlinks in my word document so that when the user clicks on a hyperlink it will open in new 'Browser' instance as specified above.
thanks