Multiple Worksheets in a workbook

B

Bill Healy

Any easy way to search for a specific sheet?

i.e. Like CTRL F, however I'm looking to find a specific worksheet rather
than scroll across until I find it.

Issue it that I have 80-90 worksheets (names like "John Smith, Fred Jones"
instead of "Sheet 1,2, etc)
 
D

Don Guillett

Here is one I use to goto the sheet from a printed name in a cell. Right
click sheet tab>insert this>save. Double click on the cell with the name in
it. ie: mysheet1

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Application.DisplayAlerts = False
Dim WantedSheet As String
WantedSheet = Trim(ActiveCell.Value)
If WantedSheet = "" Then Exit Sub
On Error Resume Next
If Sheets(ActiveCell.Value) Is Nothing Then
' GetWorkbook ' calls another macro to do that
Else
Sheets(ActiveCell.Value).Select
ActiveSheet.Range("a4").Select
End If
Application.DisplayAlerts = True
End Sub
 
B

Bill Healy

Don thank you for your prompt response!

It's a shame that I don't follow it!!

Sheet tab - which one?
Do I enter your macro as "MS 4.0 Marco or 5.0 dialogue"?

Sorry if I'm being dense....
 
D

Don Guillett

I am also using 2002. Just follow my instructions to right click the sheet
tab of the sheet where the worksheet names are typed>copy/paste the
code>save your workbook. Now when you double click on the cell where the
desired sheet is typed you will be taken there...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top