
Originally Posted by
all4excel
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Just excellent,
However Let me tell you that I learnt one very important thing because of you..
This code works very well for 1 word Sheet names but if you have two or more than two word Sheet Names then it goes for a toss.
Modified code- =HYPERLINK("#"&CELL("address",INDIRECT("'"&B2&"'!A3")),B2)
Need to just improvise the code in The Indirect portion to ("'"&B2&"'!A3")
--------------------------------------------------------------------------
Is there any way where I can actually take care of this issue with one code where the Sheet Names are 1/2/3 words..
Like a Function to count the number of words or the spaces..
I know a function- [ FIND(" ",B2,1) ]
Just realised that by adding this portion - ("'"&B2&"'!A3") by default it works well with ant SHeet Name...
--------------------------------------------------------------------------
Thnks a Lot...
all4excel.
That is interesting,
I like using this code sometimes
Worksheet module
Selecting a sheet name in column C will take you to that sheet
Bookmarks