AW: Optionsbutton aus Gruppe aktivieren
22.02.2020 10:17:30
Peer
Hallo onur.
Dachte ich auch schon darüber nach. Aber wenn in Spalte 24 kein Wert steht, weil auch keinen Pause gemacht wurde, stimmt es dann wieder nicht, Oder?
Ich habe jetzt auf deine Infos weitergedacht und habe
'Arbeitstag
txt_ArbZ_Beginn.Value = Format(Cells(zeile, 20), "hh:mm") 'Beginn
txt_ArbZ_Ende.Value = Format(Cells(zeile, 21), "hh:mm") 'Ende
txt_ArbZeit.Value = Format(Cells(zeile, 22), "hh:mm") 'Arbeitszeit abzgl Pause
If txt_ArbZ_Beginn.Value = "" And txt_ArbZ_Ende.Value = "" Then
opt_Ausbilder.Value = True
opt_Pause30.Value = True
txt_ArbZ_Beginn.Value = "08:00"
txt_ArbZ_Ende.Value = "15:48"
AZ_berechnung
End If
hinter
'Pause auslesen
If Cells(zeile, 24) = "" Then
Me.opt_Pause0.Value = True
ElseIf Cells(zeile, 24).Text = "0:30" Then
Me.opt_Pause30.Value = True
ElseIf Cells(zeile, 24).Text = "0:45" Then
Me.opt_Pause45.Value = True
End If
verschoben und jetzt scheint es zu funktionieren.
Gruß
Peer