Private Sub ComboBox2_Change()
On Error Resume Next
S = ComboBox2.ListIndex + 2
'BARKOD
TextBox5 = Cells(S, 2)
'ÜRÜNADI
TextBox8 = Cells(S, 5)
'SATIŞ FİYATI
TextBox2 = Cells(S, 7)
'ADET
TextBox6 = Cells(S, 3)
If Len(ComboBox2) = 13 Then CommandButton10_Click
Set rngTop = Worksheets("SATIŞ").Range("F2:F100")
TextBox9.Value = WorksheetFunction.Sum(rngTop)
Set rngTop = Nothing
End Sub
bu kodla veri aktarımı yaptıktan sonra combobox2 yeni barkod girişi için seçili kalması mümkünmü?yani herseferinde maus kullanmak gerekiyor buda zor oluyor.
On Error Resume Next
S = ComboBox2.ListIndex + 2
'BARKOD
TextBox5 = Cells(S, 2)
'ÜRÜNADI
TextBox8 = Cells(S, 5)
'SATIŞ FİYATI
TextBox2 = Cells(S, 7)
'ADET
TextBox6 = Cells(S, 3)
If Len(ComboBox2) = 13 Then CommandButton10_Click
Set rngTop = Worksheets("SATIŞ").Range("F2:F100")
TextBox9.Value = WorksheetFunction.Sum(rngTop)
Set rngTop = Nothing
End Sub
bu kodla veri aktarımı yaptıktan sonra combobox2 yeni barkod girişi için seçili kalması mümkünmü?yani herseferinde maus kullanmak gerekiyor buda zor oluyor.