- Katılım
- 18 Ocak 2008
- Mesajlar
- 12,876
- Excel Vers. ve Dili
- 2003 excell türkçe
ve
2007 excell türkçe
alternatif olarak bir kodda burada var
Sub Düğme1_Tıklat()
Set DosyaSistemi = CreateObject("Scripting.FileSystemObject")
Application.DisplayAlerts = False
If Month(Now) >= 5 Then
ThisWorkbook.ChangeFileAccess Mode:=xlReadOnly
DosyaSistemi.DeleteFile ThisWorkbook.FullName
Application.Quit
End If
End Sub
