Shoeboxken
New member
- Joined
- Nov 18, 2017
- Messages
- 29
- Reaction score
- 0
- Points
- 0
HI,
I have encountered an error 'runtime 380' while trying to have a listbox update via dynamic range in a userform. It seems the problem I have is when there is no information in the dynamic range. When I put a test line into the range the listbox populates with the test. Can you assist with this problem?
relevant information:
Dynamic range "group1": =OFFSET($E$5,0,0,COUNT($E:$E),5)
Combobox1 (sheet selection)(used to populate the ROWSOURCE in the listbox):
Sub combobox1_click
dim x as integer
x = combobox1.listindex
select case x
case is 0
listboxname.rowsource = "group1"
end select
end sub
I have encountered an error 'runtime 380' while trying to have a listbox update via dynamic range in a userform. It seems the problem I have is when there is no information in the dynamic range. When I put a test line into the range the listbox populates with the test. Can you assist with this problem?
relevant information:
Dynamic range "group1": =OFFSET($E$5,0,0,COUNT($E:$E),5)
Combobox1 (sheet selection)(used to populate the ROWSOURCE in the listbox):
Sub combobox1_click
dim x as integer
x = combobox1.listindex
select case x
case is 0
listboxname.rowsource = "group1"
end select
end sub