Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How do I Hyperlink to a hidden sheet in a same workbook ?

Hi,

Please advise how I can create Hyperlink to a hidden sheet in a same workbook.

Thanks.. Aman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default How do I Hyperlink to a hidden sheet in a same workbook ?

Thi aman,

Please advise how I can create Hyperlink to a hidden sheet in a same

workbook.

This will not work with a hyperlink. You need a button, picture or
whatever object on which you can click. When clicked you will need a
macro to unhide your sheet like this (here for a button):

Sub jumptohiddensheet()
Sheets("myHiddenSheet").Visible = True
Application.Goto Reference:="myTargetCell"
End Sub

You can link objects to a macro when you right-click on the object and
select macro. This all is neccessary because I think you cannot link a
macro to a hyperlink.

When you leave the sheet (with a hyperlink or just by clicking on
another sheet) you can hide it with a macro which is an event for the
sheet (do not change the name of the macro):

Private Sub Worksheet_Deactivate()
Sheets("myHiddenSheet").Visible = xlVeryHidden
End Sub


arno

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default How do I Hyperlink to a hidden sheet in a same workbook ?

Check into the FollowHyperlink Worksheet Event. Once you click the hyperlink
this event could unhide the other sheet.
Mike F
"aman" wrote in message
...
Hi,

Please advise how I can create Hyperlink to a hidden sheet in a same
workbook.

Thanks.. Aman



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default How do I Hyperlink to a hidden sheet in a same workbook ?

Hi Mike,

Check into the FollowHyperlink Worksheet Event.


sounds interesting. however, how does this work if I have eg. 5
hyperlinks but only one is pointing to the hidden sheet? So, how do you
know which hyperlink was clicked?

regards
arno

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How do I Hyperlink to a hidden sheet in a same workbook ?

Look at the arguments to followhyperlink. It passes in a reference to the
hyperlink that was clicked.

--
Regards,
Tom Ogilvy

"arno" wrote in message
...
Hi Mike,

Check into the FollowHyperlink Worksheet Event.


sounds interesting. however, how does this work if I have eg. 5
hyperlinks but only one is pointing to the hidden sheet? So, how do you
know which hyperlink was clicked?

regards
arno



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
HYPERLINK - Jump to another sheet in the same workbook Tor Einar Excel Worksheet Functions 4 April 4th 23 11:24 AM
Hyperlink to Hidden sheet muziq2[_8_] Excel Programming 7 August 1st 19 11:47 PM
how to give hyperlink to hidden excel sheet Chetu Excel Worksheet Functions 0 April 9th 09 08:56 AM
Hyperlink to another sheet within a workbook using formula Christopher Watson Excel Worksheet Functions 1 September 28th 07 11:24 AM
Hyperlink to another sheet, same workbook Dgwood90 Excel Discussion (Misc queries) 2 February 9th 07 04:49 PM


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