DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub CommandButton3_Click()
Dim BUL As Range, X As Byte
If TextBox4 = "" Then Exit Sub
With Sheets("Sayfa1")
Set BUL = .Range("D:D").Find(TextBox4)
If Not BUL Is Nothing Then
TextBox1.Value = .Cells(BUL.Row, 1)
TextBox2.Value = .Cells(BUL.Row, 2)
TextBox3.Value = .Cells(BUL.Row, 3)
TextBox4.Value = .Cells(BUL.Row, 4)
TextBox5.Value = .Cells(BUL.Row, 5)
TextBox6.Value = .Cells(BUL.Row, 6)
TextBox7.Value = .Cells(BUL.Row, 7)
TextBox8.Value = .Cells(BUL.Row, 8)
TextBox9.Value = .Cells(BUL.Row, 9)
TextBox10.Value = .Cells(BUL.Row, 10)
TextBox11.Value = .Cells(BUL.Row, 11)
TextBox12.Value = .Cells(BUL.Row, 12)
TextBox13.Value = .Cells(BUL.Row, 13)
TextBox14.Value = .Cells(BUL.Row, 14)
TextBox15.Value = .Cells(BUL.Row, 15)
TextBox16.Value = .Cells(BUL.Row, 16)
TextBox17.Value = .Cells(BUL.Row, 17)
TextBox18.Value = .Cells(BUL.Row, 18)
TextBox19.Value = .Cells(BUL.Row, 19)
Else
For X = 1 To 19
Me.Controls("TextBox" & X) = ""
Next
TextBox4.SetFocus
MsgBox "Kayıt bulunamadı !", vbCritical
End If
End With
End Sub