Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a userform, with a combobox and two listboxes. I use this code to get the sheets names from the workbook, to the combobox: Private Sub UserForm_Initialize() Dim ws As Integer For ws = 1 To Sheets.Count ComboBox1.AddItem Sheets(ws).Name Next End Sub but I want to get range "B2:B50" in listbox1 from the sheet name, who is selected with combobox1. I have no ideas how to solve this, and the sheet names can be changed from one day to another, so a case statement is no good here. Anyone please! *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combobox List to list Numerical Values ONLY in Column A is specific Sheet.... | Excel Programming | |||
ComboBox list reliant on the entry from a different ComboBox | Excel Programming | |||
Dynamically assign ComboBox.List from named range areas | Excel Programming | |||
ComboBox List Fill Range | Excel Programming | |||
missing items in sheet's activex list/combobox after resizing range | Excel Programming |