From 55a8fffc0017f19bbdf57468632c7d912591d704 Mon Sep 17 00:00:00 2001 From: hubobel Date: Tue, 31 Dec 2024 10:09:44 +0100 Subject: [PATCH] Fehler bei Monaten mit 31 Tagen behoben --- py2EX.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/py2EX.py b/py2EX.py index 677c5fe..d9b3f34 100644 --- a/py2EX.py +++ b/py2EX.py @@ -17,6 +17,10 @@ Tag = int(heute.strftime("%d")) - 1 # Tag.Monat.Jahr Monat = int(heute.strftime("%m"))+6 Jahr = int(heute.strftime("%y"))+2002 +if Tag ==30: + quit() + + # 1. Ein neues Workbook erstellen workbook = load_workbook(datei) # 2. Das aktive Arbeitsblatt auswählen