Does this work?
Private Sub prcase1_Change()
SumTextBoxes
End Sub
Private Sub prcase2_Change()
SumTextBoxes
End Sub
Private Sub prcase3_Change()
SumTextBoxes
End Sub
Private Sub prcase4_Change()
SumTextBoxes
End Sub
Private Sub TextBox6_Change()
TextBox7.Text = Val(Replace(TextBox5.Text, ",", ".")) + Val(Replace(TextBox6.Text, ",", "."))
End Sub
Sub SumTextBoxes()
Dim x As Long, Tot As Double
Me.TextBox5.Text = ""
For x = 1 To 4
Tot = Tot + Val(Replace(Me("prcase" & x).Text, ",", "."))
Next x
Me.TextBox5.Text = Tot
End Sub
Bookmarks