View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SandyZapp SandyZapp is offline
external usenet poster
 
Posts: 2
Default Locate/goto a specific worksheet quickly

What a great idea! Would I just add the code below as a macro, or is there a
place through tool bars I should put it?
Thanks! Sandy

"Bob Phillips" wrote:

I added a dropdown into a toolbar and loaded it like so


Dim sh As Object
With Application.CommandBars("Custom Toolbar").Controls("Goto Sheet")
.Clear
For Each sh In Wb.Sheets
.AddItem sh.Name
Next sh
.ListIndex = 1
End With

then I can select from the dropdown.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"johanc" wrote in message
...
I use 60 worksheets - how do I quickly move to e.g. sheet 52 without

having
to use the arrows?