Sorry - I just tried what you described and realized the error that I was getting.
I got the same results as you.
Then I put a break point in the code and realized that the values in my text boxes were coming out as "5", "5", and "5" - instead of 5, 5, and 5.
I changed my AfterUpdate event to this:
Code:
Private Sub Text3_AfterUpdate()
Dim intText1, inText2, inText3 As Integer
intText1 = CInt(Me.Text1.Value)
intText2 = CInt(Me.Text2.Value)
intText3 = CInt(Me.Text3.Value)
Me.Text4 = ((intText1 + intText2) / (intText3 * 2)) * 100
End Sub
. . . and I got the correct percentage.
Let me know if this works for you.