أستاذ ياسر ألف ألف شكر هو فعلا الكود المطلوب
وقمت بإضافة باقي الخطوات وبق 10على10 بس لي طلب
كود يقوم بمسح الاسم المكتوب فى TextBox1
Private Sub CommandButton1_Click()
On Error GoTo Error:
If TextBox1 = "" Then
MsgBox ("ادخل نص في حقل البحث")
Else
Cells.Find(What:=TextBox1, After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
TextBox2 = ActiveCell
TextBox3 = ActiveCell.Offset(, 1)
TextBox4 = ActiveCell.Offset(, 2)
TextBox5 = ActiveCell.Offset(, 3)
TextBox6 = ActiveCell.Offset(, 5)
TextBox7 = ActiveCell.Offset(, 6)
TextBox8 = ActiveCell.Offset(, 4)
TextBox9 = ActiveCell.Offset(, 7)
TextBox10 = ActiveCell.Offset(, 8)
TextBox11 = ActiveCell.Offset(, 10)
TextBox12 = ActiveCell.Offset(, 12)
TextBox13 = ActiveCell.Offset(, 9)
TextBox14 = ActiveCell.Offset(, 14)
TextBox15 = ActiveCell.Offset(, 16)
TextBox16 = ActiveCell.Offset(, 15)
TextBox17 = ActiveCell.Offset(, 19)
TextBox18 = ActiveCell.Offset(, 20)
TextBox19 = ActiveCell.Offset(, 16)
TextBox20 = ActiveCell.Offset(, 21)
TextBox21 = ActiveCell.Offset(, 17)
TextBox22 = ActiveCell.Offset(, 22)
TextBox23 = ActiveCell.Offset(, 24)
TextBox24 = ActiveCell.Offset(, 26)
TextBox25 = ActiveCell.Offset(, 27)
TextBox26 = ActiveCell.Offset(, 28)
TextBox27 = ActiveCell.Offset(, 29)
TextBox28 = ActiveCell.Offset(, 30)
End If
Exit Sub
Error:
MsgBox ("لا تتوفر نتائج للبحث")
End Sub