Given a simple form, with a multi-column combobox, that gets filled using the code below. Does anyone know why the form returns "-1" instead of "1" for TRUE?
Private Sub UserForm_Initialize()
loadCellInfoTest
End sub
Sub loadCellInfoTest()
With cbxBreakdown
.Clear
.ColumnCount = 4
.ColumnWidths = "70,110,70,600"
'.value = "Breakdown for: " & targetFormula
'HEADERS
.AddItem "Sheet"
.List(.ListCount - 1, 1) = "Address"
.List(.ListCount - 1, 2) = "Value"
.List(.ListCount - 1, 3) = "Formula"
.AddItem "test"
.List(.ListCount - 1, 1) = "Address"
.List(.ListCount - 1, 2) = True 'THIS RETURNS -1
.List(.ListCount - 1, 3) = "Formula"
End With
End Sub