I need to find a specific worksheet in a spreadsheet.

I have a spreadsheet with hundreds of worksheets named something like
Contract566, Contract630, Contract 912.
I can't seem to easily find a specific worksheet, except by scrolling through them.  Surely surely not!
Who is Participating?
10023Connect With a Mentor Web site maintenance and designCommented:
I don't have 2010 anymore but do you have this feature in 2013...to the right of the sheet tabs click or right click to get an activation dialog box...see snip
You might have to make a macro that ask for the worksheet name, then takes you there:
Sub GotoSheet()
    Dim sSheet As String

    sSheet = InputBox( _
      Prompt:="Sheet name or number?", _
      Title:="Input Sheet")
    On Error Resume Next
    If Val(sSheet) > 0 Then
    End If
End Sub

Open in new window


Even then, IDK if that's fast enough because you'd have to type the entire name. What's faster - that or scrolling? 8-)

With your worksheet naming scheme, maybe revise the code so you just have to type the number. Like:
    sSheet = InputBox( _
      Prompt:="Sheet number?", _
      Title:="Input Sheet")
    sSheet = "Contract" & sSheet

Open in new window

Then, the macro puts the "Contract" prefix for you.

Note: I haven't tested it. And it may not be the best way to do it.
kerikeriAuthor Commented:
Perfect, and so simple.  Thank you.
10023Web site maintenance and designCommented:
Your welcome
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.