Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset List Box Object

Status
Not open for further replies.

Noah114

Technical User
Mar 31, 2005
59
US
I have a List box the pops up in excel with the cell is selected. Each cell in the column when selected with pop up with the same list box because I made a form. However, if I make an entry, complete it, and move on to the next row to make another entry the list box opens in the desired cell but with the previos selection marked. Here is my VBA, is there a reset or clear action?

Private Sub listBox1_Click()
ActiveCell.Value = ListBox1.Text
Me.Hide
End Sub

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top