Private
Sub
cb_ok_Click()
Sheets(
"Tabelle1"
).Activate
Range(
"A65536"
).
End
(xlUp).Offset(1, 0).
Select
With
UserForm1
ActiveCell.Value = .txt_name.Value
ActiveCell.Offset(0, 1).Value = .txt_vorname
If
.txt_brutto <>
""
Then
ActiveCell.Offset(0, 2).Value =
CDbl
(.txt_brutto)
End
If
If
.txt_js <>
""
Then
ActiveCell.Offset(0, 3).Value =
CDbl
(.txt_js)
End
If
ActiveCell.Offset(0, 4).Value = .cb_sk.Value
If
.ob_ja.Value =
True
Then
_
ActiveCell.Offset(0, 5).Value = .ob_ja.Caption
If
.ob_ne.Value =
True
Then
_
ActiveCell.Offset(0, 5).Value = .ob_ne.Caption
ActiveCell.Offset(0, 6).Value = .cb_bl.Value
If
.txt_kvs <>
""
Then
ActiveCell.Offset(0, 7).Value =
CDbl
(.txt_kvs)
End
If
If
.txt_rvs <>
""
Then
ActiveCell.Offset(0, 8).Value =
CDbl
(.txt_rvs)
End
If
If
.txt_avs <>
""
Then
ActiveCell.Offset(0, 9).Value =
CDbl
(.txt_avs)
End
If
End
With
End
Sub