Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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
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
Change Date Format to Specific Text Format When Copying [email protected] Excel Discussion (Misc queries) 4 December 23rd 08 03:43 PM
how to change number to text with specific format in function ViestaWu Excel Worksheet Functions 4 June 26th 07 04:38 AM
Enforcing Links In Excel Groovy_Kincaid Excel Discussion (Misc queries) 1 June 28th 06 09:55 PM
Enforcing a date format on a cell/column ProdigalShawne Excel Discussion (Misc queries) 1 February 22nd 06 07:13 PM
Selecting cells that contain text in a specific format nicad_adam Excel Discussion (Misc queries) 1 June 17th 05 05:19 AM


All times are GMT +1. The time now is 11:12 AM.

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"