Hi guys!
Hope everyone it's fine. I have a new dilema. I am trying to create a simple calculator for my team (it calculates the score we need with an exact formula). The issue is that I have created the same and I have put the code, however I cannot make it work.
I have created a text box (the big one) where the total must be and a couple of other text boxes where the person who uses the calculator must enter the value and according to the formula the Total will be reflected, and I have written the following code:
Could you please take a look into this and tell me what is the error I am making?
Thanks!
Hope everyone it's fine. I have a new dilema. I am trying to create a simple calculator for my team (it calculates the score we need with an exact formula). The issue is that I have created the same and I have put the code, however I cannot make it work.
I have created a text box (the big one) where the total must be and a couple of other text boxes where the person who uses the calculator must enter the value and according to the formula the Total will be reflected, and I have written the following code:
Code:
Private Sub Total_Change()
End Sub
Private Sub Writting_AfterUpdate()
Total.Value = (Writting.Value * 4 / 10) + (Vocabulary.Value * 2 / 10) + (Problem_Solved.Value * 3 / 10) + (Signature.Value * 1 / 10)
End Sub
Private Sub Vocabulary_AfterUpdate()
Total.Value = (Writting.Value * 4 / 10) + (Vocabulary.Value * 2 / 10) + (Problem_Solved.Value * 3 / 10) + (Signature.Value * 1 / 10)
End Sub
Private Sub Problem_Solved_AfterUpdate()
Total.Value = (Writting.Value * 4 / 10) + (Vocabulary.Value * 2 / 10) + (Problem_Solved.Value * 3 / 10) + (Signature.Value * 1 / 10)
End Sub
Private Sub Signature_AfterUpdate()
Total.Value = (Writting.Value * 4 / 10) + (Vocabulary.Value * 2 / 10) + (Problem_Solved.Value * 3 / 10) + (Signature.Value * 1 / 10)
End Sub
End Sub
Could you please take a look into this and tell me what is the error I am making?
Thanks!