View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Henry T Henry T is offline
external usenet poster
 
Posts: 3
Default InputMask for Textbox in UserForm

Hi all,

I have textboxes that are used to get phones, dates, and currencies from the
user. How can I get the textboxes to have relevant input masks so that:

- instead of 2145559999, it'll be 214-555-9999 in the textboxes or (214)
555-9999
- instead of 091305, it'll be 09/13/05
- instead of 1234567.89, it'll be 1,234,567.89
????

Henry T

Of course the dashes or slashes or commas will be automatically added in the
textboxes as the users type along, instead of having the users type in the
formatting themselves.

Please help. Thanks.