Hi,
Add a userform in the VBA Editor called UserForm1
On that userfom add a combo box called ComboBox1
Write this code in the userform:s Initialize event:
Private Sub UserForm_Initialize()
With ComboBox1
.AddItem "X"
.AddItem "Y"
' Set default text.
.Text = "X"
End With
End Sub
Add a module and write this code in the module in order to show the
userform.
Sub TestForm()
UserForm1.Show
End Sub
HTH
/Ulrik
..