Hi Guys
I need to ensure that if a combobox has a specific entry, a further txtbox also needs an entry
The code I have used for single entries is working fine but I can't get the dual entry to work
The codes I use are as below:
For the single entry
For the dual entry [which won't work] I used:
Any help gratefully received
Many thanks for looking
Derek
I need to ensure that if a combobox has a specific entry, a further txtbox also needs an entry
The code I have used for single entries is working fine but I can't get the dual entry to work
The codes I use are as below:
For the single entry
Code:
If cmbStatus.Value = "" Then
MsgBox "You must add a Document Status", vbCritical
Exit Sub
For the dual entry [which won't work] I used:
Code:
If cmbStatus.Value = "Approved" & txtApprover.Value = "" Then
MsgBox "You must enter the name of the Approver", vbCritical
Exit Sub
Any help gratefully received
Many thanks for looking
Derek