View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Textbox restriction

No built in way. You would have to use the change event or other
appropriate event for a control toolbox toolbar textbox or for a textbox
from the drawing toolbar, use the OnAction macro. It wouldn't be a
restriction, but a notification and rejection if it didn't comply.

--
Regards,
Tom Ogilvy

"Newbie" wrote in message
...
Is there a method of restricting a textbox to accept only two digits?

TIA