View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RyanH RyanH is offline
external usenet poster
 
Posts: 586
Default Add Two Columns of Data into a ComboBox in Userform Initialize Eve

I currently have a ListStyle ComboBox. The ComboBox contains product codes.
I want to add a second column that describes the product code, but only
display the Col 1 data in the Textbox portion of the Combobox. For Example,

Col. 1 Col.2
AF Aluminum Faces
BP Banner Prints
CC Custom Cabinets
DP Digital Prints
EC Extruded Cabinets

This is what I currently have:
Private Sub UserForm_Initialize()

With cboProductCode
.AddItem "AF"
.AddItem "BP"
.AddItem "CC"
.AddItem "DP"
.AddItem "EC"
End With

End Sub
--
Cheers,
Ryan