Hi!
I would like an advice regarding a code that I have. I would like that this formula to return me a whole number, instead of a number with a lot of decimals.
I have tried to put the "Integer" code but it did not gave me any results, because if the formula returned before the "integer" a number such as 97.777777, after I put the "Integer" it returned me 8. I would need the formula to return me 98 or 97.
I do not know if I am making any sense, but I let you here the code I have:
I would like an advice regarding a code that I have. I would like that this formula to return me a whole number, instead of a number with a lot of decimals.
I have tried to put the "Integer" code but it did not gave me any results, because if the formula returned before the "integer" a number such as 97.777777, after I put the "Integer" it returned me 8. I would need the formula to return me 98 or 97.
I do not know if I am making any sense, but I let you here the code I have:
Code:
Private Sub Total_GotFocus()
End Sub
Private Sub Writting_LostFocus()
Total.Text = (Val(Writting.Text) * 2 / 9) + (Val(Vocabulary.Text) * 1 / 9) + (Val(Accuracy.Text) * 2 / 9) + (Val(Professionalism) * 2 / 9) + (Val(Ownership.Text) * 1 / 9) + (Val(Siebel_Processes) * 2 / 9)
End Sub
Private Sub Vocabulary_LostFocus()
Total.Text = (Val(Writting.Text) * 2 / 9) + (Val(Vocabulary.Text) * 1 / 9) + (Val(Accuracy.Text) * 2 / 9) + (Val(Professionalism) * 2 / 9) + (Val(Ownership.Text) * 1 / 9) + (Val(Siebel_Processes) * 2 / 9)
End Sub
Private Sub Accuracy_LostFocus()
Total.Text = (Val(Writting.Text) * 2 / 9) + (Val(Vocabulary.Text) * 1 / 9) + (Val(Accuracy.Text) * 2 / 9) + (Val(Professionalism) * 2 / 9) + (Val(Ownership.Text) * 1 / 9) + (Val(Siebel_Processes) * 2 / 9)
End Sub
Private Sub Professionalism_LostFocus()
Total.Text = (Val(Writting.Text) * 2 / 9) + (Val(Vocabulary.Text) * 1 / 9) + (Val(Accuracy.Text) * 2 / 9) + (Val(Professionalism) * 2 / 9) + (Val(Ownership.Text) * 1 / 9) + (Val(Siebel_Processes) * 2 / 9)
End Sub
Private Sub Ownership_LostFocus()
Total.Text = (Val(Writting.Text) * 2 / 9) + (Val(Vocabulary.Text) * 1 / 9) + (Val(Accuracy.Text) * 2 / 9) + (Val(Professionalism) * 2 / 9) + (Val(Ownership.Text) * 1 / 9) + (Val(Siebel_Processes) * 2 / 9)
End Sub
Private Sub Siebel_Processes_LostFocus()
Total.Text = (Val(Writting.Text) * 2 / 9) + (Val(Vocabulary.Text) * 1 / 9) + (Val(Accuracy.Text) * 2 / 9) + (Val(Professionalism) * 2 / 9) + (Val(Ownership.Text) * 1 / 9) + (Val(Siebel_Processes) * 2 / 9)
End Sub