Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 180
Default List of workbook tabs

I have a workbook with 100 sheets, named by employee. I want to get a
printout of the tab names so that I don't have to go through the entire list
to see if an employee already has a sheet. Is there a way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default List of workbook tabs

Donna,

Right click any sheet tab, view code and paste this in and run it for a list
of sheet names in Column A which you can then print

Sub SheetNames()
For i = 1 To Sheets.Count
Cells(i, 1) = Sheets(i).Name
Next i
End Sub

Mike

"Donna" wrote:

I have a workbook with 100 sheets, named by employee. I want to get a
printout of the tab names so that I don't have to go through the entire list
to see if an employee already has a sheet. Is there a way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default List of workbook tabs

Hi,

Might use something like this

Sub GetNames()
Dim sh As Worksheet
Dim I As Integer
I = 1
For Each sh In Worksheets
Cells(I, 0) = sh.Name
I = I + 1
Next sh
End Sub

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Donna" wrote:

I have a workbook with 100 sheets, named by employee. I want to get a
printout of the tab names so that I don't have to go through the entire list
to see if an employee already has a sheet. Is there a way to do this?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default List of workbook tabs

You could rightclick on the VCR/DVD like controls to the left of the horizontal
scroll bar.

You'll see a list of sheets popup where you can select the one you want (or
choose to see more, then choose).

Another option:
http://contextures.com/xlToolbar01.html
Or Ron de Bruin's xl2007 addin:
http://contextures.com/xlToolbar01b.html
(From Debra Dalgleish's site.)


Donna wrote:

I have a workbook with 100 sheets, named by employee. I want to get a
printout of the tab names so that I don't have to go through the entire list
to see if an employee already has a sheet. Is there a way to do this?


--

Dave Peterson
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 generate a list of the tabs/worksheets from a workbook? tjennings Excel Worksheet Functions 7 May 23rd 07 09:51 PM
Select sheet tabs in workbook & save to separate workbook files stratocaster Excel Worksheet Functions 2 March 1st 06 03:35 PM
How do I print out a list of the tabs in an Excel workbook? Britomart Excel Discussion (Misc queries) 3 January 9th 06 06:21 AM
Print Spreadsheet tabs in a Workbook to a List? Jugglertwo Excel Discussion (Misc queries) 3 May 28th 05 07:04 PM
Workbook Tabs Graham Parkinson Excel Discussion (Misc queries) 2 December 2nd 04 03:07 PM


All times are GMT +1. The time now is 01:04 AM.

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"