BlueOysterCult Posted October 21, 2003 Posted October 21, 2003 Hello All, First, this is not a homework question. Secondly, I was wondering if one could have an app when numbers are entered to automatically (with the help of a comboBox) do the calculation and print to a textBox Rob I think I am going in the wrong direction with "Validating fields" Thanks Quote
*Experts* Volte Posted October 21, 2003 *Experts* Posted October 21, 2003 If you have one sub to do the calculation, and call it from the Validate event of the controls, it should do the trick. You don't necessarily have to validate the input, but the Validate input is called when you enter data, and leave the control. Quote
BlueOysterCult Posted October 21, 2003 Author Posted October 21, 2003 I have the Private Sub Calc - but I am not sure what you mean by the "Validate events of controls" R Quote
*Experts* Volte Posted October 21, 2003 *Experts* Posted October 21, 2003 Every data entry control has a Validating event which is fired whenever you try to leave the focus of the control. Just call the sub from there. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.