Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Gus,
Here's some code Private Sub ComboBox1_DropButtonClick() Dim i As Long ComboBox1.Clear With ActiveWorkbook For i = 1 To .Worksheets.Count If .Worksheets(i).Visible = True Then ComboBox1.AddItem .Worksheets(i).Name End If Next i End With ComboBox1.ListIndex = 0 End Sub -- HTH Bob Phillips "GUS" wrote in message ... How can we add to a combobox (from controltoolbox toolbar) all the sheets that are unhide in a workbook. The code must be placed after combobox1.clear Private Sub ComboBox1_DropButtonClick() ComboBox1.Clear ''''code here ComboBox1.Text = "Go To..." End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unhide Multiple Sheets | Excel Discussion (Misc queries) | |||
Unhide multiple sheets all at once | Excel Discussion (Misc queries) | |||
Unhide hidden sheets | Excel Discussion (Misc queries) | |||
How to Unhide sheets | Excel Discussion (Misc queries) | |||
How do I unhide multiple sheets? | Excel Worksheet Functions |