![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: Lawrence, KS
Posts: 29
|
Maybe I'm stupid but there doesn't seem to be any property for textboxes on userforms that allows one to set up an input mask or some sort of automatic data validation. Do I really need to use code to check the format of the data entered into the textbox?
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hi
Right click on your forms toolbox, in VBA development environment, choose additional controls... Look for Microsoft Masked Edit Control The file name this refers to,if you have it, is in your system folder namely MSMASK32.ocx This is basically an upgraded textbox which will allow you to pre-format the expected data with a developer defined mask. If not, use code... If it's legal, I'll email you the activeX control? Tom |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Location: Lawrence, KS
Posts: 29
|
Thanks, I checked it out and that control is available to me. I never thought to look at
'additional controls.' |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Manchester, UK
Posts: 95
|
Just had a look at this in my copy of Excel and the control is there but if I try to use it I get a message saying that the component is not licensed properly.
What's all that about then? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|