Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Hyperlink excel window problem

I have some code which simply links froma command button on a useform to an
external htm file, which is saved locally, not on the internet.

ActiveWorkbook.FollowHyperlink "Tender files\Photos\index.htm"

When i click the button, the htm file launches, but i cannot get back to the
excel file. the program is there at the bottom of the screen, but alt+tab
does not show it, and even closing all other applications down does not show
it. I assume this is because the userform i clicked from is still active. is
there a way of stopping excel doing this without shutting the userform on
command button click?

Appreciate your help
--
Richard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Hyperlink excel window problem

Richard,
I cannot reproduce this problem with XL2002, following your description.
Maybe you have something else happening in either the Excel or htm file.

NickHK

"Richard" wrote in message
...
I have some code which simply links froma command button on a useform to

an
external htm file, which is saved locally, not on the internet.

ActiveWorkbook.FollowHyperlink "Tender files\Photos\index.htm"

When i click the button, the htm file launches, but i cannot get back to

the
excel file. the program is there at the bottom of the screen, but alt+tab
does not show it, and even closing all other applications down does not

show
it. I assume this is because the userform i clicked from is still active.

is
there a way of stopping excel doing this without shutting the userform on
command button click?

Appreciate your help
--
Richard



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Hyperlink excel window problem

The htm file is just a file with a picture - just a shell file until i've
built the web pages to link together, using Internet Explorer 6.0. The excel
file is just a bunch of userforms with tick boxes, navigated between by
command buttons.

I did just try to hide the userform after the hyperlink code, and doing this
means i can go back to the excel file, but it hasn't actually hidden the
form. It's not what i expected,or what it's supposed to do, but i guess it's
what i wanted.

It may be connected to how our systems are set up here (Windows 2000 with
loads of background processes going on)

--
Richard


"NickHK" wrote:

Richard,
I cannot reproduce this problem with XL2002, following your description.
Maybe you have something else happening in either the Excel or htm file.

NickHK

"Richard" wrote in message
...
I have some code which simply links froma command button on a useform to

an
external htm file, which is saved locally, not on the internet.

ActiveWorkbook.FollowHyperlink "Tender files\Photos\index.htm"

When i click the button, the htm file launches, but i cannot get back to

the
excel file. the program is there at the bottom of the screen, but alt+tab
does not show it, and even closing all other applications down does not

show
it. I assume this is because the userform i clicked from is still active.

is
there a way of stopping excel doing this without shutting the userform on
command button click?

Appreciate your help
--
Richard




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Hyperlink excel window problem

Richard,
Well, for me, hyperlinking to such a file has no effect on Excel. So looks
like something to do with your set-up/code.

NickHK

"Richard" wrote in message
...
The htm file is just a file with a picture - just a shell file until i've
built the web pages to link together, using Internet Explorer 6.0. The

excel
file is just a bunch of userforms with tick boxes, navigated between by
command buttons.

I did just try to hide the userform after the hyperlink code, and doing

this
means i can go back to the excel file, but it hasn't actually hidden the
form. It's not what i expected,or what it's supposed to do, but i guess

it's
what i wanted.

It may be connected to how our systems are set up here (Windows 2000 with
loads of background processes going on)

--
Richard


"NickHK" wrote:

Richard,
I cannot reproduce this problem with XL2002, following your description.
Maybe you have something else happening in either the Excel or htm file.

NickHK

"Richard" wrote in message
...
I have some code which simply links froma command button on a useform

to
an
external htm file, which is saved locally, not on the internet.

ActiveWorkbook.FollowHyperlink "Tender files\Photos\index.htm"

When i click the button, the htm file launches, but i cannot get back

to
the
excel file. the program is there at the bottom of the screen, but

alt+tab
does not show it, and even closing all other applications down does

not
show
it. I assume this is because the userform i clicked from is still

active.
is
there a way of stopping excel doing this without shutting the userform

on
command button click?

Appreciate your help
--
Richard






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
Duplicated code window and userform window problem Zhu Excel Programming 3 November 8th 06 05:09 AM
how do you get an excel hyperlink to open a new target window kahlua Excel Programming 1 September 4th 06 04:37 AM
Launch new browser window from hyperlink within Excel Hal Anderson Excel Worksheet Functions 0 December 1st 05 11:17 PM
how do I get a hyperlink to open in it's own new window in excel? TomB Excel Discussion (Misc queries) 0 September 30th 05 03:15 PM
Hyperlink window problem Tracey Excel Programming 2 March 5th 04 03:59 AM


All times are GMT +1. The time now is 07:17 AM.

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

About Us

"It's about Microsoft Excel"