|
: 8 : 8 : 0 |
I suggest to return an empty string ("") only when the input field is empty and has been press "Ok".
On "Cancel" I propose to return Empty (it's possible, since in DDHelp stated: "The InputBox function returns a Variant containing a string."), then we can verify the result using IsEmpty().
Added:
There are 2 variants: InputBox (returns Variant) and InputBox$ (returns String). So in the first case, we would like to have full-fledged Variant, rather than "Variant containing a string".
|