Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default FollowHyperlinks opening multiple browser windows


Hi All.

One of my Excel apps has some "Go To" functionality in it. I am using
the following code to open a browser window to an address in a web
application that we are using:

ThisWorkbook.FollowHyperlink Address:=sLinkInit & Cells(ActiveCell.Row,
iInitCol).Value, NewWindow:=False

The problem is that every time this code executes, it opens a new
browser window and does not reuse the existing browser window that is
already open. So depending on how many times the user executes the "Go
To" functionality, they can end up with a bunch of browser windows open
to my web app.

I need some help building a function that will test to see if a browser
window is already open, and if there is a browser window open, use that
window for the FollowHyperlink method.

Any help at all would be greatly appreciated!

TIA,
Eric


--
EricIsDeliriou5
------------------------------------------------------------------------
EricIsDeliriou5's Profile: http://www.excelforum.com/member.php...o&userid=15623
View this thread: http://www.excelforum.com/showthread...hreadid=271682

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default FollowHyperlinks opening multiple browser windows

In my experience,
The Newwindow argument only pertains when Excel is opened in a browser. It
doesn't sound like that is the case for you, so it won't work that way.

--
Regards,
Tom Ogilvy

"EricIsDeliriou5" wrote in
message ...

Hi All.

One of my Excel apps has some "Go To" functionality in it. I am using
the following code to open a browser window to an address in a web
application that we are using:

ThisWorkbook.FollowHyperlink Address:=sLinkInit & Cells(ActiveCell.Row,
iInitCol).Value, NewWindow:=False

The problem is that every time this code executes, it opens a new
browser window and does not reuse the existing browser window that is
already open. So depending on how many times the user executes the "Go
To" functionality, they can end up with a bunch of browser windows open
to my web app.

I need some help building a function that will test to see if a browser
window is already open, and if there is a browser window open, use that
window for the FollowHyperlink method.

Any help at all would be greatly appreciated!

TIA,
Eric


--
EricIsDeliriou5
------------------------------------------------------------------------
EricIsDeliriou5's Profile:

http://www.excelforum.com/member.php...o&userid=15623
View this thread: http://www.excelforum.com/showthread...hreadid=271682



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 multiple Excel files from IE browser does not open in new instance of Excel - BUG? Robert Aldwinckle Setting up and Configuration of Excel 1 November 11th 09 05:13 PM
Multiple instances of Excel opening when using Windows Explorer cmanssur Excel Discussion (Misc queries) 1 June 20th 07 04:07 PM
Windows browser Parent/Child structure ERK New Users to Excel 2 December 3rd 06 12:44 AM
opening multiple windows at once? Chris New Users to Excel 2 November 15th 05 03:59 PM
Opening browser window Abhay Parekh Excel Programming 1 December 4th 03 08:01 PM


All times are GMT +1. The time now is 01:30 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"