Re: still get runtime error 424
- From: Dave Peterson <petersod@xxxxxxxxxxxxxxxx>
- Date: Thu, 17 Jan 2008 09:32:35 -0600
You have another response at your earlier post.
Janis wrote:
Sorry, am I supposed to create a variable for the Listbox1.rowsource line?
I still get runtime error. It can't load the listbox. It is just column A,
for easy testing I just used the first few rows but I need all last names in
the listbox.
So are you saying I must load the other two control combox'es the same way?
What I did here works except for this list box but are you saying in order to
run a procedure based on the choice I need to load them the same as the
listbox I will change it but can you tell me why I get the 424 error?
Thanks,
Private Sub UserForm_Initialize()
ComboBox1.AddItem "Print Single"
ComboBox1.AddItem "Print Multiple"
ComboBox1.AddItem "Exit"
ComboBox3.AddItem Date
'ComboBox1.ListIndent = 1
ListBox1.RowSource =
ThisWorkbook.Sheets("Patients").Range("A1:A12").Address(external:=True)
End Sub
--
Dave Peterson
.
- Prev by Date: Re: run time error 424 object required - how to load control on Userfo
- Next by Date: Re: trouble loading a range into a comboBox
- Previous by thread: RE: still get runtime error 424
- Next by thread: Reading data from PPT and purge data to Excel and image
- Index(es):