Hello, I need your help .... I should set up a condition which must be closed if the list has a mask of values
The mask contains a text box (list) on which associtata not appear in a list.
.
I wrote
[code] If KeyCode = vbKeyEscape And Len (list)> 0 Then
btnClose_Click
End If [/ code]
and I also tried with
[code] If KeyCode = vbKeyEscape And Not IsNull (Me.lista.value) Then
btnClose_Click
End If [/ code]
but the part in red cancels the command. In fact, I porvato to REMOVE and funziona.Come should I change the code?
thanks
Hello