Hi guys,
Wondering if someone can help me with dynamic ComboBox lists, and automatic resizing using the ListRows property.
If I have a non-dynamic (i.e., fixed) list, I can show all entries in the list by setting ListRows = 0.
For example, if the list is equal to {1,2,3,4,5}, then all 5 entries are shown in the drop-down list.
However, if I'm using a defined name to refer to a dynamic list, this no longer works.
For example, suppose I introduce the defined name "My_Dynamic_Menu" using the formula:
=OFFSET(First_Value,0,0,Dynamic_Menu_Length,1)
where Dynamic_Menu_Length is the variable length of My_Dynamic_Menu.
Then I can set the ListFillRange property in the ComboBox equal to My_Dynamic_Menu, so that the list updates automatically using the above formula.
However, if I set ListRows = 0, the number of entries shown in the drop-down menu does not update automatically to reflect the new list.
Does anyone know how I can make this work?
Any help would be greatly appreciated.
Thanks & regards,
Grant
Bookmarks