I have a simple windows application that pops up an input box for users to enter in a date to do searches.
How do I identify if the user clicked on the Cancel butt
input = InputBox("Text:") If input <> "" Then ' Normal Else ' Cancelled, or empty End If
From MSDN:
If the user clicks Cancel, the function returns a zero-length string ("").