DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
ergün bey vermiş olduğunuz kod formdaki x için geçerli ben exceldeki x için bahsetmiştim
Private Sub Workbook_BeforeClose(Cancel As Boolean)
UserForm1.Show
End Sub
Private Sub CommandButton1_Click()
ThisWorkbook.Save
If Excel.Application.Windows.Count = 1 Then
Unload Me
Application.Quit
Else
ThisWorkbook.Close 0
End If
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayAlerts = False
UserForm1.Show
Application.DisplayAlerts = True
End Sub
Private Sub CommandButton1_Click()
ThisWorkbook.Save
If Excel.Application.Windows.Count = 1 Then
Unload Me
Application.Quit
Else
ThisWorkbook.Close 0
End If
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Cancel = True
MsgBox " Lütfen Çıkış İçin Formu Kullanınız ...", vbInformation
Application.DisplayAlerts = False
UserForm8.Show
Application.DisplayAlerts = True
End Sub