Probably, the most stupidest question ever raised here...

Ildestino

New Member
Joined
Jun 23, 2014
Messages
15
Greetings people,

I am having a huge blockade right now and I would need an inspiration...

I built a database for our employee to fill in. From Time to Time, we know that false information can be filled in. I have certain "Keys" that guides me to check if what they have filled in is correct. Now for corporate data protection, I am not allowed to show it here, but I can give you an almost 1 to 1 of what i want to do.

KEYS (own Worksheet):

Plant TypeProduct
VegetableEggplant
FruitsApple
VegetableCabbis
FruitsPear
VegetableCarrot
VegetableCarrot

<tbody>
</tbody>


TEST WORKSHEET (Separate Worksheet)

Plant TypeProduct
VegetableApple
FruitCarrot
VegetableCarrot

<tbody>
</tbody>

I would need a VBA coding that I can execute "Ad Hoc" to check if everything is OK in the "TEST Worksheet". So in this case, it should indicate that "FRUIT and CARROT" cannot be right.

You guys have any ideas how i should do that?

Kind regards

Ildestino
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
U could have 2 listboxes. One for plant type and one for products. When a plant type selection is made, only the correct possibilities are shown in the product listbox for the user to select ie. zero chance of error. HTH. Dave
 
Upvote 0

Forum statistics

Threads
1,215,972
Messages
6,128,030
Members
449,414
Latest member
sameri

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