PC Review


Reply
Thread Tools Rate Thread

data validation in excel user form

 
 
sam
Guest
Posts: n/a
 
      7th Jul 2009

Hi All,

I have a user form with multiple text fields accepting numeric values,
character values, mix of numbers and alphabets, decimal values, etc.
How can I mark certain fields in user form to accept just the numbers,
alphabets, etc.

Thanks in Advance.
 
Reply With Quote
 
 
 
 
OssieMac
Guest
Posts: n/a
 
      7th Jul 2009

Hi Sam,

Need code to validate the entries. However, need a spec for each textbox
before writing the code. Spec info required.

Name of each textbox with following info.
Valid characters. (All numeric, all alpha, numeric/alpha)
If numeric/alpha is it a set number of numeric and alpha or random.
If random are all alpha together and all numeric together or mixed.
Describe set numeric/alpha as ####@@@@@ (for 4 numeric and 5 alpha.)
Alpha characters (if Uppercase,Lowercase or does not matter)

--
Regards,

OssieMac


 
Reply With Quote
 
sam
Guest
Posts: n/a
 
      7th Jul 2009

Thanks for the help OssieMac,

Can you show me an example of just numeric and just alpha?

Lets say the Text box Name is FirstName and for numeric CellPhone. Can I not
do it through the properties of a field from the user form?

Thanks in Advance

"OssieMac" wrote:

> Hi Sam,
>
> Need code to validate the entries. However, need a spec for each textbox
> before writing the code. Spec info required.
>
> Name of each textbox with following info.
> Valid characters. (All numeric, all alpha, numeric/alpha)
> If numeric/alpha is it a set number of numeric and alpha or random.
> If random are all alpha together and all numeric together or mixed.
> Describe set numeric/alpha as ####@@@@@ (for 4 numeric and 5 alpha.)
> Alpha characters (if Uppercase,Lowercase or does not matter)
>
> --
> Regards,
>
> OssieMac
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Validation - Drop Down for User Form wx4usa Microsoft Excel Misc 2 24th Oct 2008 03:28 PM
Excel: Filling a user form with yesterday's data randallwilkins Microsoft Excel Programming 2 3rd Jun 2006 04:09 AM
User Form Data Validation MBlake Microsoft Excel Discussion 1 18th Apr 2005 04:16 AM
Validation of User Data Entry of Excel Range Address Rick Grieser Microsoft Excel Worksheet Functions 1 5th Sep 2004 09:57 PM
Data validation in excel data>form William Microsoft Excel Setup 1 19th Aug 2004 11:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:34 AM.