macros

vivekanand

New Member
Joined
Jun 23, 2011
Messages
1
i need to do certain validations in exel2007.
validations like limit on number of charecters can be easily done using DATA VALIDATION .
But i need to restrict a umber to 12 digits with out decimal point.
If decimal point is present total no of digits before and after decimal point must be less than 12(ex:1234567890.12).If decimal point is not provided total digits must be less than 12(ex:123456789012).please tell how to validate it.i am completely unaware of excel macros.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Why don't you use Data Validation, and choose to allow Whole Numbers only, and set the range to be between:
100000000000
and
999999999999
?
 
Upvote 0

Forum statistics

Threads
1,224,532
Messages
6,179,388
Members
452,908
Latest member
MTDelphis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top