You don't need to protect/unprotect to put the values in the texboxes, but you will need it if you want to alter the data on the worksheet.
To find the row the unique value is on you could use match, and with that you can populate the textboxes.
Here's a rough example of what I mean.
Dim res As Variant
res = Application.Match(Textbox1.Value, Worksheets("Sheet1").Range("B:B") , 0)
If Not IsError(res) Then
TextBox2.Value = Worksheets("Sheet1").Range("A" & res).Value
TextBox3.Value = Worksheets("Sheet1").Range("C" & res).Value
TextBox4.Value = Worksheets("Sheet1").Range("D" & res).Value
TextBox5.Value = Worksheets("Sheet1").Range("E" & res).Value
TextBox6.Value = Worksheets("Sheet1").Range("F" & res).Value
End If
Obviously you'd need to change that for your setup - perhaps you could attach a sample workbook?
Bookmarks