DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub CommandButton1_Click()
Dim k As Range, sat As Long
sat = Cells(Rows.Count, "L").End(xlUp).Row
Set k = Range("L3:L" & sat).Find(ComboBox1.Value, , xlValues, xlWhole)
If Not k Is Nothing Then TextBox2.Value = k.Offset(0, 1).Value
Set k = Nothing
End Sub
benim yazdığım kodlar daha uygundur.Daha hızlı çalışırlar.ComboBox1.Clear
Dim satir As Integer
satir = 3
While Cells(satir, 1).Value <> ""
ComboBox1.AddItem (Cells(satir, 1).Value)
satir = satir + 1
Wend
End Sub
Teşekkürler fakat
Bu formül gibi biraz basit yazabilir misnz