Hi Everyone,
I have UserForm1 Which Has 3 TextBoxes & 2 ListBoxes. (TextBox1, 2, 3) & (ListBox1,2)
I also Have An "Exit" Button (CommandButton3), a "Clear All" Button (CommandButton2), and "Submit" Button (CommandButton1)
So The User Populates The TextBoxes And Then They Select a Drop Down From The ListBoxes. When They Click Submit, The Data That Was Typed & Selected Populate Into "Sheet 1".
Now My Problem Is When A User Clicks The Clear All Button It Clears The UserForm Like It Should, But When They Click "Clear All & Then Click "Submit", Everything Is Cleared In The "Sheet 1" Like It Should...EXCEPT For the ListBox Selections. Does Anybody Know Why?
My Code For The Clear All Button Is:
Private Sub Command Button2_Click()
Unload Me
UserForm1.Show
End Sub
Thank You Very Much For Your Help!
I have UserForm1 Which Has 3 TextBoxes & 2 ListBoxes. (TextBox1, 2, 3) & (ListBox1,2)
I also Have An "Exit" Button (CommandButton3), a "Clear All" Button (CommandButton2), and "Submit" Button (CommandButton1)
So The User Populates The TextBoxes And Then They Select a Drop Down From The ListBoxes. When They Click Submit, The Data That Was Typed & Selected Populate Into "Sheet 1".
Now My Problem Is When A User Clicks The Clear All Button It Clears The UserForm Like It Should, But When They Click "Clear All & Then Click "Submit", Everything Is Cleared In The "Sheet 1" Like It Should...EXCEPT For the ListBox Selections. Does Anybody Know Why?
My Code For The Clear All Button Is:
Private Sub Command Button2_Click()
Unload Me
UserForm1.Show
End Sub
Thank You Very Much For Your Help!