- Katılım
- 14 Aralık 2015
- Mesajlar
- 6
- Excel Vers. ve Dili
- 2016 türkçe ingilizce
Excel de begeyi kapatırken b sütununun son satırı dolu ise ilk dört sutünü doldurmadan çıkmasını nasıl engelleyebiliriz?
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Workbook_BeforeClose(Cancel As Boolean)
With Sheets("Sayfa1")
son = .Cells(Rows.Count, "A").End(3).Row
If .Cells(son, "A") <> "" Then
If .Cells(son, "B") = "" Or .Cells(son, "C") = "" Then
MsgBox son & ". Satırına Öğrenci Adı ve Notunu Giriniz", vbCritical
Cancel = True
End If
End If
End With
End Sub