Hocam sayfa açılınca, "müşteri numarası giriniz" textbox hanesine 6 yazıp ARAMA butonuna basıyorum.. 6 numaralı müşteri bilgileri geldiğinde, miktar hanesindeki rakamları siliyorum ve DÜZELT butonuna bastığımda hata veriyor...
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Hocam sayfa açılınca, "müşteri numarası giriniz" textbox hanesine 6 yazıp ARAMA butonuna basıyorum.. 6 numaralı müşteri bilgileri geldiğinde, miktar hanesindeki rakamları siliyorum ve DÜZELT butonuna bastığımda hata veriyor...
sat = ListBox1.ListIndex + 1
sat = TextBox2.Text + 2
Private Sub CommandButton6_Click()
If TextBox1.Text = Empty Then MsgBox "Tarih Boş.", , "Sezer ÇAY": Exit Sub
If TextBox2.Text = Empty Then MsgBox "Müşteri No Boş.", , "Sezer ÇAY": Exit Sub
If TextBox3.Text = Empty Then MsgBox "Masa No Boş.", , "Sezer ÇAY": Exit Sub
If TextBox4.Text = Empty Then MsgBox "Giriş Saati Boş.", , "Sezer ÇAY": Exit Sub
sat = TextBox2.Text + 2
Cevap = MsgBox("DEĞİŞTİRMEK İSTEDİĞİNİZDEN EMİNMİSİNİZ!", vbYesNo, "")
If Cevap = vbNo Then Exit Sub
Sheets("VERİ").Select
ListBox1.RowSource = ""
Cells(sat, "A") = TextBox1.Value
Cells(sat, "B") = TextBox2.Value
Cells(sat, "C") = TextBox3.Value
Cells(sat, "D") = TextBox4.Value
Cells(sat, "G") = TextBox7.Value
Cells(sat, "I") = TextBox9.Value
Cells(sat, "K") = TextBox11.Value
Cells(sat, "M") = TextBox13.Value
Cells(sat, "O") = TextBox15.Value
Cells(sat, "Q") = TextBox17.Value
Cells(sat, "S") = TextBox19.Value
Cells(sat, "U") = TextBox21.Value
Cells(sat, "W") = TextBox23.Value
Cells(sat, "Y") = TextBox25.Value
Cells(sat, "AA") = TextBox27.Value
Cells(sat, "AC") = TextBox29.Value
Cells(sat, "AE") = TextBox31.Value
Cells(sat, "AG") = TextBox33.Value
Cells(sat, "AI") = TextBox35.Value
Cells(sat, "AK") = TextBox37.Value
Cells(sat, "AM") = TextBox39.Value
Cells(sat, "AO") = TextBox41.Value
Cells(sat, "AQ") = TextBox43.Value
Cells(sat, "AS") = TextBox45.Value
Cells(sat, "AU") = TextBox47.Value
Cells(sat, "AW") = TextBox49.Value
Cells(sat, "AY") = TextBox51.Value
Cells(sat, "BA") = TextBox53.Value
Cells(sat, "BC") = TextBox55.Value
Cells(sat, "BE") = TextBox57.Value
Cells(sat, "BG") = TextBox59.Value
Cells(sat, "BI") = TextBox61.Value
Cells(sat, "BK") = TextBox63.Value
Cells(sat, "BM") = TextBox65.Value
Cells(sat, "BO") = TextBox67.Value
Cells(sat, "BQ") = TextBox69.Value
Cells(sat, "BS") = TextBox71.Value
Cells(sat, "BU") = TextBox73.Value
Cells(sat, "BW") = TextBox75.Value
Cells(sat, "BY") = TextBox77.Value
UserForm_Initialize
CommandButton7_Click
End Sub