Too many worksheets

ZinToledo

New Member
Joined
Jan 28, 2005
Messages
1
I have an Excel file that has over 100 worksheets. These are the names of our employees. The sheets log in vacation time, earned, used and sick time earned and used.

Because of the size, it can be time consuming to find the correct worksheet by moving the tab.

Is there a way to quickly list or navigate the tabs, instead of scrolling through them??

Thanks,

Zin
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Right click on the tab arrow keys and a list of the sheets will be displayed. If too many there will be a "More Sheets..." option.

HTH
texasalynn
 
Upvote 0
Just a thought here, especially if you do not hae any other information on your sheets than what you were stating in your message. This may be an easier way to set up your file. Instead of 1 sheet per name, you could combine all into one sheet, then sort the names alpha. and would save you lots of time without having 100 sheets.
Book1
ABCDE
1VacationTimeSickTime
2NameEarnedUsedEarnedUsed
3Doe,Bob10564
4Jones,John9555
5Roe,Sue2210
Sheet1
 
Upvote 0
Welcome to the Board!

Here's some code that will build a hyperlinked Table of Contents of each sheet in your workbook. It's pretty handy for big workbooks. Note that I don't know who to give credit to, but HOTPEPPER dig modify it a bit a while back.

<font face=Tahoma><SPAN style="color:#00007F">Sub</SPAN> LinkSheetNames2()
<SPAN style="color:#007F00">'   Revised by HOTPEPPER</SPAN>

    <SPAN style="color:#00007F">With</SPAN> Application
        .ScreenUpdating = <SPAN style="color:#00007F">False</SPAN>
        .DisplayAlerts = <SPAN style="color:#00007F">False</SPAN>
    
    i = 2
    n = ActiveWorkbook.Worksheets.Count
        <SPAN style="color:#00007F">For</SPAN> b = 1 <SPAN style="color:#00007F">To</SPAN> n
            <SPAN style="color:#00007F">If</SPAN> Worksheets(b).Name = "Table of Contents" <SPAN style="color:#00007F">Then</SPAN>
                Worksheets(b).Delete
            <SPAN style="color:#00007F">Else</SPAN>
                Worksheets.Add.Name = "Table of Contents"
                Range("A1") = "Table of Contents"
                <SPAN style="color:#00007F">GoTo</SPAN> Table
            <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN>
        <SPAN style="color:#00007F">Next</SPAN>
    
Table:
    n = n + 1
    a = 2
    i = 2
        <SPAN style="color:#00007F">Do</SPAN> <SPAN style="color:#00007F">While</SPAN> i <= n
            Cells(a, 1).Select
                j = Worksheets(i).Name
                ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:=j & "!A1", _
                TextToDisplay:=j
            a = a + 1
            i = i + 1
        <SPAN style="color:#00007F">Loop</SPAN>
    
        .ScreenUpdating = <SPAN style="color:#00007F">True</SPAN>
        .DisplayAlerts = <SPAN style="color:#00007F">True</SPAN>
    <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN>

<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN>
</FONT>

Hope that helps,

Smitty
 
Upvote 0

Forum statistics

Threads
1,214,914
Messages
6,122,211
Members
449,074
Latest member
cancansova

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top