Private
Sub
CommandButton1_Click()
If
TextBox13 =
""
Or
TextBox2 =
""
Or
TextBox3 =
""
Or
TextBox4 =
""
Or
_
TextBox5 =
""
Or
TextBox6 =
""
Or
TextBox7 =
""
Or
TextBox8 =
""
Or
_
TextBox9 =
""
Or
TextBox10 =
""
Or
TextBox11 =
""
Or
TextBox12 =
""
Then
MsgBox (
"Bitte einen Wert eingeben"
)
Else
ActiveSheet.Range(
"E28"
) =
CInt
(
Me
.TextBox2)
ActiveSheet.Range(
"E29"
) =
CInt
(
Me
.TextBox3)
ActiveSheet.Range(
"E30"
) =
CInt
(
Me
.TextBox4)
ActiveSheet.Range(
"E31"
) =
CInt
(
Me
.TextBox5)
ActiveSheet.Range(
"F28"
) =
CInt
(
Me
.TextBox6)
ActiveSheet.Range(
"F29"
) =
CInt
(
Me
.TextBox7)
ActiveSheet.Range(
"F30"
) =
CInt
(
Me
.TextBox8)
ActiveSheet.Range(
"F31"
) =
CInt
(
Me
.TextBox9)
ActiveSheet.Range(
"G28"
) =
CInt
(
Me
.TextBox10)
ActiveSheet.Range(
"G29"
) =
CInt
(
Me
.TextBox11)
ActiveSheet.Range(
"G30"
) =
CInt
(
Me
.TextBox12)
ActiveSheet.Range(
"G31"
) =
CInt
(
Me
.TextBox13)
UF_Tabelle_01.Hide
End
If
End
Sub