- Katılım
- 8 Haziran 2007
- Mesajlar
- 761
- Excel Vers. ve Dili
- excel- 2003 Türkçe
Aağıdaki kod ile form üzerinden kayıt yapıyorum. Eğer Personel_bilgi Sayfasının B11:B325 hücreleri arasındaki rakam tekrar kayıt yapılmak istendiği zaman uyarı versin istiyorum. (extBox1 ile B sutununa personel no kaydediyorum. )
Private Sub Kaydet_Click()
son = Sheets("Personel_Bilgi").[B65536].End(3).Row + 1
Cells(son, 2) = Val(TextBox1)
Cells(son, 4) = TextBox2
Cells(son, 5) = TextBox3
Cells(son, 6) = Val(TextBox4)
Cells(son, 7) = Val(TextBox5)
Cells(son, 8) = Val(TextBox6)
Private Sub Kaydet_Click()
son = Sheets("Personel_Bilgi").[B65536].End(3).Row + 1
Cells(son, 2) = Val(TextBox1)
Cells(son, 4) = TextBox2
Cells(son, 5) = TextBox3
Cells(son, 6) = Val(TextBox4)
Cells(son, 7) = Val(TextBox5)
Cells(son, 8) = Val(TextBox6)