Checkbox based on value

setis

Registered User.
Local time
Today, 06:38
Joined
Sep 30, 2017
Messages
127
Could somebody help me with the AfterUpdate() VBA for a texbox in a form?


If the value is >9000 the checkboxA must be checked.


Thanks in advance!
 
Private Sub textboxNumber_AfterUpdate()
Me.CheckBox = (Val("0" & Me.textboxNumber)>9000)
End Sub
 
Great. Thank you so much one more time!
 

Users who are viewing this thread

Back
Top Bottom