Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you....i wasn't sure how much of the code I should put in the post...but
all of you answered my question. It works great! "lcifers" wrote: Try this: 'In the change event of your combobox Private Sub ComboBox1_Change() If Not Me.ComboBox1.Value = "" Then Sheets(Me.ComboBox1.Value).Select End If End Sub 'To load sheet names when initializing the form Private Sub UserForm_Initialize() Dim s As Excel.Worksheet For Each s In ThisWorkbook.Worksheets Me.ComboBox1.AddItem s.Name Next End Sub HTH. - Luther |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ComboxBox with Dynamically Defined Source, and LinkedCell error | Excel Discussion (Misc queries) | |||
passing values to other sheets | New Users to Excel | |||
Comboxbox in Commandbar | Excel Programming | |||
Looping through Sheets and passing values to an Array | Excel Programming | |||
Passing SQL Query Result Into A Variable | Excel Programming |