Hi All,
I have a spreadsheet where rows of data have been saved.
I would like to used this data in a combo box but am stuck how to make a combo box list more then 1 column of data and how to load the data into said combo box.
The code I use to make a single column combo box is listed below
Dim Row As Integer
Dim Data As Object
Set Data = Sheets("Logo"
.Cells
Row = 1
While Not IsEmpty(Data(Row, 1))
ComboBox1.AddItem (Data(Row, 1))
Row = Row + 1
Wend
Can Anyone tell me how to make this code handle more then one column of data
Thanks
Tony
I have a spreadsheet where rows of data have been saved.
I would like to used this data in a combo box but am stuck how to make a combo box list more then 1 column of data and how to load the data into said combo box.
The code I use to make a single column combo box is listed below
Dim Row As Integer
Dim Data As Object
Set Data = Sheets("Logo"
Row = 1
While Not IsEmpty(Data(Row, 1))
ComboBox1.AddItem (Data(Row, 1))
Row = Row + 1
Wend
Can Anyone tell me how to make this code handle more then one column of data
Thanks
Tony