- Katılım
- 29 Ağustos 2009
- Mesajlar
- 398
- Excel Vers. ve Dili
- 2007 Türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub ComboBox1_Change()
Dim sat As Integer
For sat = 3 To Cells(65536, "a").End(xlUp).Row
If Cells(sat, "a") Like ComboBox1.Value Then
TextBox5 = Cells(sat, "b")
End If
Next
End Sub
Private Sub CommandButton1_Click()
Dim sat As Integer
If ComboBox1.Value = "" Then
MsgBox "Önce bir malzeme kodu seçmelisiniz.", vbInformation
Exit Sub: End If
For sat = 3 To Cells(65536, "a").End(xlUp).Row
If Cells(sat, "a") Like ComboBox1.Value Then
Cells(sat, "c") = Cells(sat, "c") + Val(TextBox3)
Cells(sat, "d") = Cells(sat, "d") - Val(TextBox4)
End If
Next
End Sub
Private Sub UserForm_Initialize()
ComboBox1.RowSource = "sayfa1!a3:a" & [sayfa1!a65536].End(xlUp).Row
End Sub
Sn. N.Ziya Hiçdurmaz, ben bu programı kâğıt stok programı olarak değiştirip, biraz geliştirdim.
Beğeneceğinizi umarım.
Teşekkürler..