Hi guys,
i need help to get the following to work...
The part in Red doesnt want to work
Any ideas would be greatly appreciated
please and thanks
i need help to get the following to work...
Rich (BB code):
Private Sub Thickness_1_BeforeUpdate(Cancel As Integer)
If Me.Target_Thickness.Value = 2.6 Then
If Me.Thickness_1.Value < 1.5 Then
Me.Thickness_1.BackColor = vbRed
Me.Thickness_1.ForeColor = vbWhite
End If
End If
If Me.Target_Thickness.Value = 2.6 Then
If Me.Thickness_1.Value > 2.9 Then
Me.Thickness_1.BackColor = vbRed
Me.Thickness_1.ForeColor = vbWhite
ElseIf Me.Thickness_1 > 2.9 And Me.Thickness_1 < 1.5 Then
Me.Thickness_1.BackColor = vbGreen
Me.Thickness_1.ForeColor = vbBlue
End If
End If
End Sub
Any ideas would be greatly appreciated
please and thanks
Last edited by a moderator: