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):
[TABLE="width: 500"]
<tbody>[TR]
[TD]Plant Type[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Eggplant[/TD]
[/TR]
[TR]
[TD]Fruits[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Cabbis[/TD]
[/TR]
[TR]
[TD]Fruits[/TD]
[TD]Pear[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Carrot[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Carrot[/TD]
[/TR]
</tbody>[/TABLE]
TEST WORKSHEET (Separate Worksheet)
[TABLE="width: 500"]
<tbody>[TR]
[TD]Plant Type[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]Fruit[/TD]
[TD]Carrot[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Carrot[/TD]
[/TR]
</tbody>[/TABLE]
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
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):
[TABLE="width: 500"]
<tbody>[TR]
[TD]Plant Type[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Eggplant[/TD]
[/TR]
[TR]
[TD]Fruits[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Cabbis[/TD]
[/TR]
[TR]
[TD]Fruits[/TD]
[TD]Pear[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Carrot[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Carrot[/TD]
[/TR]
</tbody>[/TABLE]
TEST WORKSHEET (Separate Worksheet)
[TABLE="width: 500"]
<tbody>[TR]
[TD]Plant Type[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]Fruit[/TD]
[TD]Carrot[/TD]
[/TR]
[TR]
[TD]Vegetable[/TD]
[TD]Carrot[/TD]
[/TR]
</tbody>[/TABLE]
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