Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using sheet name of workbooks

I have an Excel 2003 workbook which contains a master sheet that needs
to retrieve and use the names of the other sheets contained in the
workbook. For example, the master sheet ("Instructions") would show in
cells A1 - A5 the names of the five other sheets in the workbook that
might be called "Test1", "Test2", "Test3", "Test4" and "Test5". Once
the master sheet has a usable reference to the other sheet names, any
time one of those names changed (or additional sheets added) the master
sheet would automatically get updated. Is this possible either using a
sheet reference formula or VBA (preferably formula)? Ideally, the
master sheet would reference the other sheets as a Hyperlink cell so
clicking on any of the individual names would take the user directly to
the appropriate sheet!

Any ideas how this can be done?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Using sheet name of workbooks

=MID(CELL("filename",Test1!A1),FIND("]",CELL("filename",Test1!A1))+1,
LEN(CELL("filename",Test1!A1))-FIND("]",CELL("filename",Test1!A1)))

set up a formula for each sheet. This will adjust if there is a change.
Assume the above formula is in A1, then in B1 (as an example), you can buid a
hyperlinke using the hyperlink worksheet function

=HYPERLINK(MID(CELL("filename",Test1!A1),FIND("[",CELL("filename",Test1!A1)),255)&"!A1",A1)

These will adjust when the sheet name is changed.

--
Regards,
Tom Ogilvy




"Marcus T" wrote:

I have an Excel 2003 workbook which contains a master sheet that needs
to retrieve and use the names of the other sheets contained in the
workbook. For example, the master sheet ("Instructions") would show in
cells A1 - A5 the names of the five other sheets in the workbook that
might be called "Test1", "Test2", "Test3", "Test4" and "Test5". Once
the master sheet has a usable reference to the other sheet names, any
time one of those names changed (or additional sheets added) the master
sheet would automatically get updated. Is this possible either using a
sheet reference formula or VBA (preferably formula)? Ideally, the
master sheet would reference the other sheets as a Hyperlink cell so
clicking on any of the individual names would take the user directly to
the appropriate sheet!

Any ideas how this can be done?

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
calculations across sheet and other workbooks rexmann Excel Discussion (Misc queries) 7 January 8th 09 05:42 PM
Mass add of a sheet to multiple workbooks ddpderek Excel Discussion (Misc queries) 2 May 31st 07 03:35 PM
Can I consolidate one work sheet from several workbooks? A few oth LT Duncan Excel Discussion (Misc queries) 3 December 11th 06 08:17 PM
One Sheet referres to many workbooks damorrison Excel Worksheet Functions 0 March 6th 06 12:09 PM
Multiple Sheet workbooks [email protected] Excel Worksheet Functions 3 March 26th 05 12:57 AM


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