Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Opening hyperlinks in separate windows

Hi all:

ActiveSheet.Hyperlinks(1).Follow NewWindow:=True
ActiveSheet.Hyperlinks(2).Follow NewWindow:=True

....opens the first two hyperlinks on a sheet in the same window. Can
anyone tell me:

1) How to open them in different windows then reposition those
windows?
2) How to return the addresses of the cells containing the Hyperlinks?

TIA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 206
Default Opening hyperlinks in separate windows

I can answer question 2:

Dim c As String
c = Hyperlinks(1).Range.Address

Mike F
wrote in message
...
Hi all:

ActiveSheet.Hyperlinks(1).Follow NewWindow:=True
ActiveSheet.Hyperlinks(2).Follow NewWindow:=True

...opens the first two hyperlinks on a sheet in the same window. Can
anyone tell me:

1) How to open them in different windows then reposition those
windows?
2) How to return the addresses of the cells containing the Hyperlinks?

TIA



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Opening hyperlinks in separate windows

#1 is pretty much out of your hands, it passes the command to open the sheet
to your default browser. You can tell IE to do what you want in the options
but that would have to be set for all the clients you deploy the sheet to. I
couldn't say for sure about the other browsers.

You'd have to make to get the window handle for the browser and move/size
the window using API calls.



" wrote:

Hi all:

ActiveSheet.Hyperlinks(1).Follow NewWindow:=True
ActiveSheet.Hyperlinks(2).Follow NewWindow:=True

....opens the first two hyperlinks on a sheet in the same window. Can
anyone tell me:

1) How to open them in different windows then reposition those
windows?
2) How to return the addresses of the cells containing the Hyperlinks?

TIA

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening EXCEL Documents in separate Windows vs. a Shared Window Thomas195 Setting up and Configuration of Excel 4 February 5th 10 01:20 PM
Opening files in separate windows THR Excel Discussion (Misc queries) 6 July 25th 09 11:23 AM
Opening files from Outlook/Explorer to separate windows in Excel 2 Andrew Woodworth Excel Discussion (Misc queries) 3 March 5th 09 06:41 PM
Open Excel files in separate sessions, not just separate windows? Bob at Dexia Design Excel Discussion (Misc queries) 1 October 18th 05 05:46 PM
opening excel file in separate windows Alex[_13_] Excel Programming 0 May 18th 04 09:33 PM


All times are GMT +1. The time now is 03:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"