nicholasblack
New Member
- Joined
- Mar 3, 2011
- Messages
- 5
Hello, I am reasonably new to Excel, however, I have more experience in VBA. The form I have built has a series of Textboxes for user input. The Input values must be numeric and must be within specified ranges.
The major problem is that all works well except if the value is not within the proper range I can not keep the focus on the textbox. the index keeps advancing and the user must then point and click the mouse back to the textbox inorder to adjust the input value.
Desired result: after the entry is made; check isnumeric. Next check the value to see if the value is < or > than required limits. If the value is not within the limits then select the input value so the user MUST adjust.
There is a msgbox to trap the user responce to "Are you Sure about the value". When the user select "Yes" all work well. It is only when the user selects "NO" that I am not able to force the the focus back to the textbox.
Any Help would be very much appreciated
The major problem is that all works well except if the value is not within the proper range I can not keep the focus on the textbox. the index keeps advancing and the user must then point and click the mouse back to the textbox inorder to adjust the input value.
Desired result: after the entry is made; check isnumeric. Next check the value to see if the value is < or > than required limits. If the value is not within the limits then select the input value so the user MUST adjust.
There is a msgbox to trap the user responce to "Are you Sure about the value". When the user select "Yes" all work well. It is only when the user selects "NO" that I am not able to force the the focus back to the textbox.
Any Help would be very much appreciated