Hi folks. I have a multicolumn listbox (8 columns). Is it possible to selectively populate only Listbox columns 1-4 with e.g. C1:F30 from a spreadsheet using the Sheets .Range property? I want to bypass column 0.
The following, by default, populates columns 0-3, can I change this to populate columns 1-4 in a similar way?
With ListBox1
.ColumnCount = 8
.List = Sheets("Sheet1").Range("C1:F30").Value
End With
I could use other methods to populate the listbox e.g. .additem or .list(row,column)= ,but I'm interested to see if I can populate it in one step.
I'll be using the remaining columns to display various things such as debug info relating to each record/row
Thanks.
The following, by default, populates columns 0-3, can I change this to populate columns 1-4 in a similar way?
With ListBox1
.ColumnCount = 8
.List = Sheets("Sheet1").Range("C1:F30").Value
End With
I could use other methods to populate the listbox e.g. .additem or .list(row,column)= ,but I'm interested to see if I can populate it in one step.
I'll be using the remaining columns to display various things such as debug info relating to each record/row
Thanks.
Last edited: