DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
merhaba;
Sayfa2'deki L sütununa ait sonsatır;
Kod:sonsat = Sheets("Sayfa2").Cells(65536, 12).End(3).Row
'General/Declarations alanına
dim d
'Combo1 alanına;
Private Sub ComboBox1_Change()
d = ComboBox1.ListIndex + 1
TextBox1 = ""
TextBox1.SetFocus
End Sub
'commandbutton1 alanına;
Private Sub CommandButton1_Click()
Sayfa2.Select
sonsat = d
Cells(sonsat, "L").Offset(6, 0).Select
ActiveCell = TextBox1.Value
TextBox1 = "Diğer Ayı Giriniz"
ComboBox1.SetFocus
End Sub
merhaba;
Kod:'General/Declarations alanına dim d 'Combo1 alanına; Private Sub ComboBox1_Change() d = ComboBox1.ListIndex + 1 TextBox1 = "" TextBox1.SetFocus End Sub 'commandbutton1 alanına; Private Sub CommandButton1_Click() Sayfa2.Select sonsat = d Cells(sonsat, "L").Offset(6, 0).Select ActiveCell = TextBox1.Value TextBox1 = "Diğer Ayı Giriniz" ComboBox1.SetFocus End Sub
yazıp dener misiniz
merhaba;
ekli dosyayı inceleyiniz.
Sorunun ne olduğunu anlamadım,
zira kodlar sizin gönderdiğiniz çalışma kitabı üzerinde çalışıyor.
merhaba;
Kod:private sub commandbutton1_click() sheets("sayfa2").cells(d, "l").offset(6, 0).value=textbox1.value textbox1 = "diğer ayı giriniz" combobox1.setfocus end sub