Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2006

Tip: Looking for answers? Try searching our database.

Launching an Internet Explorer window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Valerie M - 10 Apr 2006 12:25 GMT
I've set up a dialog box to kick off a template. It includes a
commandbutton that users can click to display a Resource page, ie an
Internet Explorer window full of explanations and links to databases
etc. The idea is for users to Alt-Tab back and forth between the
Resource page and the document they're working on.

I'm using the following code to display the HTML page:

 ActiveDocument.FollowHyperlink Address:=sHTTPAddress, NewWindow:=True

I've set NewWindow:=True so that Explorer opens in a restored state (ie
not maximised). I'd like to have more control over the size and
position of the Explorer window (so it's obvious to users that both
windows are available). Is this possible?
Chris Mahoney - 10 Apr 2006 23:03 GMT
I don't know whether this is possible from VBA, however you can resize
the browser window using JavaScript. I can't remember the code off the
top of my head, but it should be easy to find some.

Chris
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.