VBAmalta89
Board Regular
- Joined
- Mar 25, 2011
- Messages
- 116
I have a text box in a frame in a user form which can only accept numerical values. There is an OK button on the form which the user clicks once the text boxes are filled in.
I need to create some sort of validation to ensure that numerical values are entered in these text boxes, ie a message is prompted if the user clicks OK and a text box is left blank, forcing the user to fill the text box before exiting.
how can i achieve this? I have managed to do it in normal text boxes that dont have frames but I cant seem to use the same codes for text boxes within frames
I need to create some sort of validation to ensure that numerical values are entered in these text boxes, ie a message is prompted if the user clicks OK and a text box is left blank, forcing the user to fill the text box before exiting.
how can i achieve this? I have managed to do it in normal text boxes that dont have frames but I cant seem to use the same codes for text boxes within frames