Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cant get Pass/Fail box to work

Status
Not open for further replies.

joebox8

Technical User
Jun 3, 2011
15
0
0
IE
Private Sub AVG_3SIGM_AfterUpdate()

If AVG_3SIGM.Value <= 17.4 Then
PASSFAIL1.Text = "Fail"
End If

End Sub

The above only works if i manually enter a value in AVG_SIGM but i want it to work when a macro (that contains formulas im using) sends the value to the text box. When i use the macro it remains blank for some reason. Any help appreciated.
 
Private Sub AVG_3SIGM_AfterUpdate()

If AVG_3SIGM.Value <= 17.4 Then
PASSFAIL1.Value = "Fail"
End If

End Sub

sorry THIS is the code
 
Hey never mind managed to fix it myself lol
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top