Followhyperlink - How do I disable IE launch?

K

Kenji4861

Everytime I do a followhyperlink within excel such as

thisworkbook.followhyperlink "http://www.spoofee.com", , false

I say "False" to the NewWindow parameter, but it still launches, why
is that? Is there a way to disable this?
 
T

Tom Ogilvy

If there is no instance of IE open and you pass it a URL of a web page, what
do you want to happen?
 
P

Peter Beach

Hi Tom,

Experimenting I find that (XL 2000 Win 2000) that a new IE window is opened
regardless of whether an instance is already running, or whether the
NewWindow parameter is True or False.

Looks like a bug to me, or I've stuffed up something in my IE settings <g>.

Regards,

Peter Beach
 
T

Tom Ogilvy

If you open the workbook with the macro in a web browser and run the code,
it opens in the existing window. If set to True, it opens a new browser
window with the page displayed. (xl97, Win 98SE).
 
P

Peter Beach

Hi Tom,

Ah, opening it in the browser was the trick I missed :-( Can't think why I
missed it, a browser seems such an obvious host for a spreadsheet <vbg>.

Regards,

Peter Beach
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top