Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Textbox restriction

Is there a method of restricting a textbox to accept only two digits?

TIA
  #2   Report Post  
Posted to microsoft.public.excel.programming
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TTC delimiter restriction inequitude Excel Discussion (Misc queries) 2 November 12th 10 11:20 PM
Save-As Restriction Salman Excel Worksheet Functions 0 January 8th 07 06:26 AM
VLOOKUP with a restriction JackR Excel Discussion (Misc queries) 2 April 3rd 06 04:47 PM
Sheet tab Restriction harpscardiff Excel Discussion (Misc queries) 2 February 1st 06 02:57 PM
add restriction in Excel kalz Excel Worksheet Functions 3 December 9th 04 09:23 AM


All times are GMT +1. The time now is 09:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"