Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I know what the problem is but not how to solve it. The problem is there is
a list on the worksheet that gets edited by the users so it has to stay on sheet 1. I need to capture this range and fill the list box. I have the variable range which I think needs to be in a procedure/module not in a userForm? So in that case how do I access it from the userForm? The other question is how do I get it to default on the first item in the listbox? The last question is do I write separate combox events to run a procedure for each one? Basically comboBox1 is a list of names. Combox3 is a choice of print one name or print all names in a procedure. Thanks, Private Sub UserForm_Initialize() Set rng = ActiveSheet.UsedRange ComboBox1.AddItem "Print Single" ComboBox1.AddItem "Print Multiple" ComboBox1.AddItem "Exit" ComboBox3.AddItem Date 'ComboBox1.ListIndent = 1 ListBox1.ColumnCount = rng End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run time error 424 Object required ? | Excel Programming | |||
Run Time error 424 Object Required | Excel Programming | |||
Run-Time Error 424 - Object Required | Excel Programming | |||
Object required - run time error 424. | Excel Programming | |||
Run-time error '424': Object required | Excel Programming |