Selamlar,
Evde çalışan kod işyerinde çalışmadı sebebi ne olabilir?
Private Sub CommandButton2_Click()
Set bul = Range("f9:f65536").Find(ComboBox3, lookat:=xlWhole, LookIn:=xlValues)
If Not bul Is Nothing Then
TextBox2.Text = Cells(bul.Row, "e").Value
TextBox3.Text = Cells(bul.Row, "b").Value
TextBox4.Text = Cells(bul.Row, "g").Value
TextBox5.Text = Cells(bul.Row, "c").Value
TextBox6.Text = Cells(bul.Row, "d").Value
TextBox7.Text = Cells(bul.Row, "h").Value
TextBox8.Text = Cells(bul.Row, "j").Value
TextBox9.Text = Cells(bul.Row, "m").Value
TextBox10.Text = Cells(bul.Row, "n").Value
TextBox11.Text = Cells(bul.Row, "o").Value
TextBox12.Text = Cells(bul.Row, "p").Value
ComboBox1.Text = Cells(bul.Row, "k").Value
ComboBox2.Text = Cells(bul.Row, "l").Value
Else
MsgBox "Aradığınız kayıt bulunamadı!"
End If
End Sub
Evde çalışan kod işyerinde çalışmadı sebebi ne olabilir?
Private Sub CommandButton2_Click()
Set bul = Range("f9:f65536").Find(ComboBox3, lookat:=xlWhole, LookIn:=xlValues)
If Not bul Is Nothing Then
TextBox2.Text = Cells(bul.Row, "e").Value
TextBox3.Text = Cells(bul.Row, "b").Value
TextBox4.Text = Cells(bul.Row, "g").Value
TextBox5.Text = Cells(bul.Row, "c").Value
TextBox6.Text = Cells(bul.Row, "d").Value
TextBox7.Text = Cells(bul.Row, "h").Value
TextBox8.Text = Cells(bul.Row, "j").Value
TextBox9.Text = Cells(bul.Row, "m").Value
TextBox10.Text = Cells(bul.Row, "n").Value
TextBox11.Text = Cells(bul.Row, "o").Value
TextBox12.Text = Cells(bul.Row, "p").Value
ComboBox1.Text = Cells(bul.Row, "k").Value
ComboBox2.Text = Cells(bul.Row, "l").Value
Else
MsgBox "Aradığınız kayıt bulunamadı!"
End If
End Sub
