Hi, It's me again.
What I would like to do is use AddItem to add an item to a Multi Column ComboBox.
What I currently use is an array. The problem with the array is I have to specify a length:
Dim myarray(2, 10000)
I made it 10,000 to ensure I had enough room.
To fill the combobox, I use:
ml.OLEFormat.Object.Column() = myarray
Note: ml.OLEFormat.Object is the name of the combobox
So now I end up with a ComboBox 10,000 rows long regardless. Is there any way for me to populate the ComboBox using AddItem, or to populate using Column() but have it stop when it hits a blank record?
Thanks in advance,
NoChoice
What I would like to do is use AddItem to add an item to a Multi Column ComboBox.
What I currently use is an array. The problem with the array is I have to specify a length:
Dim myarray(2, 10000)
I made it 10,000 to ensure I had enough room.
To fill the combobox, I use:
ml.OLEFormat.Object.Column() = myarray
Note: ml.OLEFormat.Object is the name of the combobox
So now I end up with a ComboBox 10,000 rows long regardless. Is there any way for me to populate the ComboBox using AddItem, or to populate using Column() but have it stop when it hits a blank record?
Thanks in advance,
NoChoice