Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do i link the names of tabs in a workbook to a summary page?

Hi

I am working on a spreadsheet with information on different items on
separate tabs. The first tab is a summary sheet where information from the
tabs will be entered onto a table.

I am trying to link the names of the tabs to a column on the summary tab. I
have tried using ='click on tab' . This works with inserting a value so that
the name of the tab appears, but then as it is just a value I connot
manipulate it in any way, eg - if I change the name of the tab it does not
change on the summary sheet!

This means I will have to potentially enter the names of hundreds of tabs
manually :-( any help would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 135
Default how do i link the names of tabs in a workbook to a summary page?

Andrea -

The macro below will list all tab names in column A starting in cell A3 in a
worksheet called "Summary". You can adjust as necessary. Remember that if
the order of the sheets is changed, then so will the order of the results.
If "Summary" is always the first worksheet, then you can start SheetIndex at
2 so it won't put "Summary" in the list of sheets. To change the starting
row, adjust the Range statement. You can rename the macro to what you want.

Sub ListSheets()
Dim SheetIndex As Integer

Sheets("Summary").Select
SheetIndex = 1
Do While SheetIndex <= Sheets.Count
Range("A" & (SheetIndex + 2)).Value = Sheets(SheetIndex).Name
SheetIndex = SheetIndex + 1
Loop
End Sub

--
Daryl S


"Andrea O" wrote:

Hi

I am working on a spreadsheet with information on different items on
separate tabs. The first tab is a summary sheet where information from the
tabs will be entered onto a table.

I am trying to link the names of the tabs to a column on the summary tab. I
have tried using ='click on tab' . This works with inserting a value so that
the name of the tab appears, but then as it is just a value I connot
manipulate it in any way, eg - if I change the name of the tab it does not
change on the summary sheet!

This means I will have to potentially enter the names of hundreds of tabs
manually :-( any help would be greatly appreciated.

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
Page Numbers/Names listed on a Summary sheet? Derrick Excel Discussion (Misc queries) 5 June 20th 09 10:10 PM
PLEASE HELP - Link Data from Different Sheets to Summary Page Link Sheets to Summary Page - NEED HELP Excel Discussion (Misc queries) 3 March 5th 09 07:26 PM
trying to create a way to link summary page to subsequent workshee girlsrope2 Excel Worksheet Functions 1 August 25th 08 10:16 PM
how do you make a summary page showing the workbook name with the excel sheet names carole New Users to Excel 1 May 22nd 06 08:31 PM
Creating a list of worksheet names on a Summary PAge confusedexceler Excel Worksheet Functions 4 July 29th 05 01:11 AM


All times are GMT +1. The time now is 02:24 PM.

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"