Hi,
I have the following section of VBA code which works :
CONTRACT = Application.InputBox("Please enter Contract no", "LIFT DETAILS")
If CONTRACT = False Then
Exit Sub
End If
I would rather use the vbCancel object but it gives me 13 error :
CONTRACT = Application.InputBox("Please enter Contract no", "LIFT DETAILS")
If vbCancel = True Then
Exit Sub
End If
Help please?
I have the following section of VBA code which works :
CONTRACT = Application.InputBox("Please enter Contract no", "LIFT DETAILS")
If CONTRACT = False Then
Exit Sub
End If
I would rather use the vbCancel object but it gives me 13 error :
CONTRACT = Application.InputBox("Please enter Contract no", "LIFT DETAILS")
If vbCancel = True Then
Exit Sub
End If
Help please?