Question 1)
I'm trying to create a multicolumn list box. The source will not be from the excel sheet, but from a variable array. I figured out how to add items to each column, but I cant figure out how to name the column headers what I want. Any suggestions?
Question 2)
If the source of the multicolumn list box is from the excel sheet, the column headings will be the cells directly above each column in the sheet. Can I choose the heading from other cells, as in ones that are not directly above the range I chose?
Question 3)
Can anyone give me a working example of how to use the .additem for a multicolumn list box? I populated my list using the following meathod:
With lstBox1
.ColumnCount = 3
.ColumnHeads = True
.AddItem [variable array reference]
.List(0, 1) = [variable array reference]
.List(0, 2) = [variable array reference]
End With
the .additem uses the following format that I do not understand .additem([pargitem], [pargindex]) and then it wants it to equal something. Any clue?
Thanks, Joshua
I'm trying to create a multicolumn list box. The source will not be from the excel sheet, but from a variable array. I figured out how to add items to each column, but I cant figure out how to name the column headers what I want. Any suggestions?
Question 2)
If the source of the multicolumn list box is from the excel sheet, the column headings will be the cells directly above each column in the sheet. Can I choose the heading from other cells, as in ones that are not directly above the range I chose?
Question 3)
Can anyone give me a working example of how to use the .additem for a multicolumn list box? I populated my list using the following meathod:
With lstBox1
.ColumnCount = 3
.ColumnHeads = True
.AddItem [variable array reference]
.List(0, 1) = [variable array reference]
.List(0, 2) = [variable array reference]
End With
the .additem uses the following format that I do not understand .additem([pargitem], [pargindex]) and then it wants it to equal something. Any clue?
Thanks, Joshua