i want to do a search in a listbox This is the code I've written but not working properly formats you some idea
If TextBox1.Text = ListBox1.Name Then
MsgBox("true name")
Else
MsgBox("false name")
End If
thanks for help