Solved

Best Toolbar/option for quick Worksheet (75+) Navigation

Posted on 2011-03-24
8
264 Views
Last Modified: 2012-05-11
Hello,

I have a huge workbook in Excel 2010, with many worksheets (75+) that I have to jump around alot. The bottom left corner, right click , more sheets, then scroll is old quick.

What are some options, tool bars, etc..

In a perfect world,  some type of tool bar, that would list them all (maybe 2 or 3 columns) at once when the mouse if over it.
0
Comment
Question by:freshgrill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 35208948
What version of excel?

Chris
0
 

Author Comment

by:freshgrill
ID: 35210071
Excel 2010
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 35210302
That was a stupid question wasn't it!

One option is two pronged ... Add a sheet with all the sheets on it as shortcuts and a short cut to call up the shortcut sheet.

1. Add the code below t a module and run it.  THis creates the Table of contents.
2. Create a shortcut to the sheet:

Developer tab ... select record on the code pane:
Select the shortcut key for example shift control T (T for TOC)
OK
Select the TOC page and then stop the macro recorder

You should now be able to use shift control T to selecte the toc sheet then select your choice of sheet.

Chris
Sub Hyper()
Dim TOC As Worksheet
Dim sh As Object

    On Error Resume Next
    Set TOC = ThisWorkbook.Worksheets("TOC")
    On Error GoTo 0
    If TOC Is Nothing Then
        Set TOC = ThisWorkbook.Worksheets.Add(Before:=ThisWorkbook.Sheets(1))
        TOC.Name = "TOC"
    End If
    TOC.Move Before:=ThisWorkbook.Sheets(1)
    TOC.Cells.Delete
    TOC.Range("A1") = "Worksheet(s)"
    For Each sh In ThisWorkbook.Worksheets
'        TOC.Range("a" & TOC.Rows.Count).End(xlUp).Offset(1, 0) = sh.Name
        TOC.Hyperlinks.Add Anchor:=TOC.Range("a" & TOC.Rows.Count).End(xlUp).Offset(1, 0), _
            Address:="", SubAddress:=VBA.Chr(39) & sh.Name & VBA.Chr(39) & "!A1"
    Next
    TOC.Columns(1).AutoFit

End Sub

Open in new window

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:freshgrill
ID: 35210483
Hi Chris,

Can you be a little more detailed on the steps, like how to create the module, etc... I don't see a developer tab....

Thanks,
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 35210557
To display the developer tab:

File | Options | Customise Ribbon
Right hand pane - Select the check box for the developer tab

To display the VBE, alt + F11
To create a module, in the VBE insert | Module
WHen code is pasted therein close the VBE and use alt + F8 to run the code.

Chris
0
 

Author Comment

by:freshgrill
ID: 35210711
Hi Chris,

That works great, 1 question:

Is there anyway to wrap the TOC list instead of 1 long list have it split into 3 columns (example) so many more worksheets show on the screen at one time.

0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 500 total points
ID: 35211073
Try this ... looks ok to me

Chris
Sub Hyper3()
Dim TOC As Worksheet
Dim sh As Object
Dim intCounter As Integer
Dim intOffset As Integer

    On Error Resume Next
    Set TOC = ThisWorkbook.Worksheets("TOC")
    On Error GoTo 0
    If TOC Is Nothing Then
        Set TOC = ThisWorkbook.Worksheets.Add(Before:=ThisWorkbook.Sheets(1))
        TOC.Name = "TOC"
    End If
    TOC.Move Before:=ThisWorkbook.Sheets(1)
    TOC.Cells.Delete
    TOC.Range("A1") = "Worksheet(s)"
    For Each sh In ThisWorkbook.Worksheets
        intCounter = intCounter + 1
        If intCounter > (ThisWorkbook.Worksheets.Count / 3) Then
            intOffset = intOffset + 1
            intCounter = 1
        End If
'        TOC.Range("a" & TOC.Rows.Count).End(xlUp).Offset(1, 0) = sh.Name
        TOC.Hyperlinks.Add Anchor:=TOC.Range("a" & intCounter + 1).Offset(, intOffset), _
            Address:="", SubAddress:=VBA.Chr(39) & sh.Name & VBA.Chr(39) & "!A1"
    Next
    TOC.Range("A1:C1").EntireColumn.AutoFit

End Sub

Open in new window

0
 
LVL 45

Expert Comment

by:aikimark
ID: 35212014
If you named the sheets, you could use the existing dropdown control on  the address bar.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question