ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,226
- Office Version
- 2007
- Platform
- Windows
Hi,
I have a ComboBox with 3 selections within it
Selection ONE TWO & THREE
I select TWO but i need a reset button.
This is my reset button code at present.
I wish to press the reset button and have the ComboBox empty like it was before i made the selection.
I have tried the following but it either gives me a compile error or its clears the combobox BUT just adds the same selections within the lis agin thus ONE THWO THREE ONE TWO THREE.
Please can you advise how i make it show nothing selected BUT just keep the same list of ONE TWO THREE
I have a ComboBox with 3 selections within it
Selection ONE TWO & THREE
I select TWO but i need a reset button.
This is my reset button code at present.
Rich (BB code):
Private Sub CommandButton1_Click()
UserForm_Initialize
End Sub
I wish to press the reset button and have the ComboBox empty like it was before i made the selection.
I have tried the following but it either gives me a compile error or its clears the combobox BUT just adds the same selections within the lis agin thus ONE THWO THREE ONE TWO THREE.
Rich (BB code):
ComboBox2.SelectedIndex = -1
ComboBox2.ResetText
ComboBox2.Text = " "
ComboBox2Text = Null
Please can you advise how i make it show nothing selected BUT just keep the same list of ONE TWO THREE