Tekhelpnet
Technical User
I want advise.
I wrote this
Private Sub Business_Unit_Click()
On Error GoTo ErrHandler
Me.BUSINESS_UNIT.Enabled = False
ErrHandler: (it is a wrong one but for example it works)
If Err = 2501 Then
' Report canceled - ignore this
Else
MsgBox Err.Description, vbExclamation
End If
End Sub
I am clicking OK to am error message and now I need combo box to get cleared. It would be perfect solution.
Yes and I also need correct error message. Thanks
I wrote this
Private Sub Business_Unit_Click()
On Error GoTo ErrHandler
Me.BUSINESS_UNIT.Enabled = False
ErrHandler: (it is a wrong one but for example it works)
If Err = 2501 Then
' Report canceled - ignore this
Else
MsgBox Err.Description, vbExclamation
End If
End Sub
I am clicking OK to am error message and now I need combo box to get cleared. It would be perfect solution.
Yes and I also need correct error message. Thanks