sassriverrat
Well-known Member
- Joined
- Oct 4, 2018
- Messages
- 655
Good Morning,
I've got a data array, which my userform combibox/dropdown menu references.
I have 100 available "slots" for data input in the array, but I don't use all of them. The initialize code (below) works well for the combibox to populate it. However, being as I only use about 20 of the rows currently, and the other 80 are for future expansion, I was wondering:
Is it possible to have the combibox only populate with rows that have information? Meaning if a row is blank (the unused rows), don't show them in the dropdown?
I've got a data array, which my userform combibox/dropdown menu references.
I have 100 available "slots" for data input in the array, but I don't use all of them. The initialize code (below) works well for the combibox to populate it. However, being as I only use about 20 of the rows currently, and the other 80 are for future expansion, I was wondering:
Is it possible to have the combibox only populate with rows that have information? Meaning if a row is blank (the unused rows), don't show them in the dropdown?
Code:
ComboBox1.List = Application.Index(Sheets("Ports").Range("B3:G102").Value, Evaluate("row(1:100)"), Array(1, 6))