Hi,
I'm probably being really silly as it's Monday morning, but I'm having real problems binding an array to a comboBox in Excel 2000!
I've declared the array as:
Dim Div As Variant
Dim i As Integer
Div = Array("Value 1", "Value 2", etc)
For i = LBound(arDivision) To UBound(arDivision)
Sheet1.Division.AddItem Div(i)
Next i
Should this be in the Worksheet coding or the Workbook coding? Or am I doing this completely wrong?
Thanks in advance
Jane
I'm probably being really silly as it's Monday morning, but I'm having real problems binding an array to a comboBox in Excel 2000!
I've declared the array as:
Dim Div As Variant
Dim i As Integer
Div = Array("Value 1", "Value 2", etc)
For i = LBound(arDivision) To UBound(arDivision)
Sheet1.Division.AddItem Div(i)
Next i
Should this be in the Worksheet coding or the Workbook coding? Or am I doing this completely wrong?
Thanks in advance
Jane