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)
First I add the dropdown to a toolbar, such as Standard, then I add
application events to reload it every time a workbook is activated (that way
it functions for all workbooks). The toolbar and event code is added from
Personal .xls. I can knock you up an example if you wish.
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
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.