Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Enforcing specific format in Text Box
Is there a way to force a specifric format in a text
box? I know in VB there is the option of using a format mask. Is this possible in VBA? I need to force one of the following formats PRJ99999 or SUP99999. Any ideas on how to enforce/check the format of the text box to make sure the user inputs the correct format? Any help would be appreciated. Thanks. Kirk |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Enforcing specific format in Text Box
The is not built in mask property.
You could use one of the events (such as after update) to include code that checks the formats. -- Regards, Tom Ogilvy "Kirk" wrote in message ... Is there a way to force a specifric format in a text box? I know in VB there is the option of using a format mask. Is this possible in VBA? I need to force one of the following formats PRJ99999 or SUP99999. Any ideas on how to enforce/check the format of the text box to make sure the user inputs the correct format? Any help would be appreciated. Thanks. Kirk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change Date Format to Specific Text Format When Copying | Excel Discussion (Misc queries) | |||
how to change number to text with specific format in function | Excel Worksheet Functions | |||
Enforcing Links In Excel | Excel Discussion (Misc queries) | |||
Enforcing a date format on a cell/column | Excel Discussion (Misc queries) | |||
Selecting cells that contain text in a specific format | Excel Discussion (Misc queries) |