Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The text box is not on a User form. It is just placed on the worksheet. My intention to have the text box accept only the positive Integer values has failed ever since.

What I have tried:

I have tried to use the KeyPress(ByVal KeyAscii As MSForm.ReturnInteger) event but to no avail. I begin to wonder if the the above mentioned event is applicable only in using Userforms in vba. Can anyone enlighten me on this bug that im stuck with please?
Posted
Updated 24-Aug-18 7:14am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900