Hi
Probably a simple solution to this however it is doing my head in at the moment.
I have a field ( Approv) which is currently set using the unconditional formatting. However I notice that you can only have 3 conditions set.
I needed to add another condition which you could not do anyway with the conditional formatting as far as I can see, So I inserted the following code on exit of a field “ Credit amount”
Private Sub Credit_amount_Exit(Cancel As Integer)
If [Credit amount] < 1 Then [Credit Approv] = "No Credit"
End Sub
However this does not seem to change the Credit Approv field, I am getting no error messages.
The conditional formatting also allocates different colours for the 3 options already set, ideally I would like to make the “No Credit” option turn the background Yellow, guess it would be simple to add to the code above, if the code above worked.
Any ideas what I am doing wrong, and suggestions on the colour issue.
Many thanks
Bone Head
Probably a simple solution to this however it is doing my head in at the moment.
I have a field ( Approv) which is currently set using the unconditional formatting. However I notice that you can only have 3 conditions set.
I needed to add another condition which you could not do anyway with the conditional formatting as far as I can see, So I inserted the following code on exit of a field “ Credit amount”
Private Sub Credit_amount_Exit(Cancel As Integer)
If [Credit amount] < 1 Then [Credit Approv] = "No Credit"
End Sub
However this does not seem to change the Credit Approv field, I am getting no error messages.
The conditional formatting also allocates different colours for the 3 options already set, ideally I would like to make the “No Credit” option turn the background Yellow, guess it would be simple to add to the code above, if the code above worked.
Any ideas what I am doing wrong, and suggestions on the colour issue.
Many thanks
Bone Head