I am working in a userform that has a listbox when i open excel sheet by searching (Dim xName As String Dim xfound As Boolean xName = InputBox("Enter sheet name to find in workbook:", "Sheet search") If xName = "" Then Exit Sub On Error Resume Next ActiveWorkbook.Sheets(xName).Select
xfound = (Err = 0) On Error GoTo 0 If xfound Then MsgBox "Sheet '"& xName & "'ÊãÇÎÊíÇÑÇáÑÞã!" Else
MsgBox "The sheet '"& xName & "'ÑÞãÛíÑãæÌæÏÈÞÇÚÏÉÇáÈíÇäÇÊ!" Exit Sub
End If UserForm3.Hide
UserForm6.Show it open very good in the first time but when i do another search the listbox show the first sheet searched for now i need something when i go back to choose another sheet i want the listbox to be updated with me and shows the new sheet i selected