Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formula to lookup worksheet label

Background:
I have a workbook that has 250 plus tabs in it (I know - it's crazy). The
workbook is generated by exporting a report from our financial system so the
tab names change on a regular basis.

Question:
Does anyone know of a way to get a list of worksheet labels related a
workbook? Either via a cut and paste or via a function?

My hope is to be able to insert a worksheet at the beginning of the file and
then via the hyperlink function create a list of 250+ hyperlinks to the
various worksheets. I have the basic formula but am stuck trying to figure
out a way to have the formula pull the various worksheet labels. The nested
formula would need to know what tab to goto without me typing in the tab
name. I think what I need is similar to how the "offset" function works but
instead of telling it how many rows or columns to move I need to tell how
many worksheets (tabs) to move through.

Any ideas?
Judy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Formula to lookup worksheet label

I don't know of a way that a formula could do this, however, I have created a
TOC like you describe using VBA coding.
--

Toby Erkson
http://excel.icbm.org/


"Grotejm" wrote:

Background:
I have a workbook that has 250 plus tabs in it (I know - it's crazy). The
workbook is generated by exporting a report from our financial system so the
tab names change on a regular basis.

Question:
Does anyone know of a way to get a list of worksheet labels related a
workbook? Either via a cut and paste or via a function?

My hope is to be able to insert a worksheet at the beginning of the file and
then via the hyperlink function create a list of 250+ hyperlinks to the
various worksheets. I have the basic formula but am stuck trying to figure
out a way to have the formula pull the various worksheet labels. The nested
formula would need to know what tab to goto without me typing in the tab
name. I think what I need is similar to how the "offset" function works but
instead of telling it how many rows or columns to move I need to tell how
many worksheets (tabs) to move through.

Any ideas?
Judy

  #3   Report Post  
Member
 
Posts: 58
Default

Quote:
Originally Posted by Grotejm View Post
Background:
I have a workbook that has 250 plus tabs in it (I know - it's crazy). The
workbook is generated by exporting a report from our financial system so the
tab names change on a regular basis.

Question:
Does anyone know of a way to get a list of worksheet labels related a
workbook? Either via a cut and paste or via a function?

My hope is to be able to insert a worksheet at the beginning of the file and
then via the hyperlink function create a list of 250+ hyperlinks to the
various worksheets. I have the basic formula but am stuck trying to figure
out a way to have the formula pull the various worksheet labels. The nested
formula would need to know what tab to goto without me typing in the tab
name. I think what I need is similar to how the "offset" function works but
instead of telling it how many rows or columns to move I need to tell how
many worksheets (tabs) to move through.

Any ideas?
Judy
Hello Judy:

This may help.

Scroll down to Miscellaneous
http://www.cpearson.com/excel/excelF.htm#SheetName

http://www.cpearson.com/excel/excelM.htm#SheetNames
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Formula to lookup worksheet label

You can start by placing all the sheet names in a list in a new worksheet.

Private Sub ListSheets()
'list of sheet names starting at A1
Dim rng As Range
Dim i As Integer
Worksheets.Add(After:=Worksheets(Worksheets.Count) ).Name = "List"
Set rng = Range("A1")
For Each Sheet In ActiveWorkbook.Sheets
rng.Offset(i, 0).Value = Sheet.Name
i = i + 1
Next Sheet
End Sub


Gord Dibben MS Excel MVP

On Wed, 2 Apr 2008 23:53:30 +0100, GoBow777
wrote:


Grotejm;647380 Wrote:
Background:
I have a workbook that has 250 plus tabs in it (I know - it's crazy).
The
workbook is generated by exporting a report from our financial system
so the
tab names change on a regular basis.

Question:
Does anyone know of a way to get a list of worksheet labels related a
workbook? Either via a cut and paste or via a function?

My hope is to be able to insert a worksheet at the beginning of the
file and
then via the hyperlink function create a list of 250+ hyperlinks to the

various worksheets. I have the basic formula but am stuck trying to
figure
out a way to have the formula pull the various worksheet labels. The
nested
formula would need to know what tab to goto without me typing in the
tab
name. I think what I need is similar to how the "offset" function
works but
instead of telling it how many rows or columns to move I need to tell
how
many worksheets (tabs) to move through.

Any ideas?
Judy


Hello Judy:

This may help.

Scroll down to Miscellaneous
http://www.cpearson.com/excel/excelF.htm#SheetName

http://www.cpearson.com/excel/excelM.htm#SheetNames


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
How do I use a worksheet label to create a formula in Excel 2007? Reed P. Wyatt Excel Discussion (Misc queries) 2 July 7th 07 04:30 AM
How do I use a worksheet label to create a formula in Excel 2007? Reed P. Wyatt Excel Discussion (Misc queries) 0 July 6th 07 03:44 AM
lookup column label based on data in cell Aaron Excel Worksheet Functions 1 August 22nd 06 04:13 PM
how to lookup a value within a range and return a label jocmccoy Excel Discussion (Misc queries) 1 November 16th 05 11:52 AM
formula to lookup table in another Worksheet please Steved Excel Worksheet Functions 1 June 14th 05 10:39 AM


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