I\'m trying to \'reset\' a listbox in Excel VBA when a form closes. Currently when I use the userform1.hide function the form disappears but when I open it up again using th
try this code to Clear listbox in VBA
Private Sub clearListBox() Dim iCount As Integer For iCount = 0 To Me!ListBox1.ListCount Me!ListBox1.Selected(iCount) = False Next iCount End Sub