How do i validate input boxes when they have been created?

Sami

Board Regular
Joined
Mar 4, 2002
Messages
122
I created the input boxes and they work. But i need to validate some of them. when i use data, validation, for a cell or a column it works but only when the data is entered manually. How do i validate the input boxes?
Thank u.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi Sami

What are you refering to as "input boxes" and what do you want to validate them against.

If you are talking about ComboBoxes are they from the "Forms" toolbox or the "Control Toolbox" and are they on Worksheets or UserForms.
 
Upvote 0
hey, ive got a macro to input a new product in the system. The product ID in coulumn C has to be validated by text length to = to 4 characters. Also the Price in column D has to be validated for currency (if thats possible in £)
Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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