Excel data checking
I have an Excel UserForm which contains the following fields; date
, name
and work
.
In the event that the worksheet contains the same date and name pairing, I want data transfer from the Userform blocked.
Example
A worksheet has one entry:
- Column
A
has the date1/1/2017
- Column
B
has the namejohn
For the worksheet above, the following rules apply:
- Information can be passed from the UserForm for
3/1/2017
andjohn
. - Information can be passed from the UserForm for
1/1/2017
andjane
. - Information cannot be passed from the UserForm for
1/1/2017
andjohn
.