DavidT_macktool
Well-known member
I am using an inputbox to get a "partid" which is an integer. What code do I need to check if cancel is pushed on the inputbox. There is a conflict between string and integer. Cancel returns a string which can't be checked if the inputbox answer is set up for an integer. Do you know how to work around this without creating your own input box.
Just curious, I will create my own box and assign the answer to -1 if cancel is pushed. Then I can If/then for a positive number and use it that way...
Any other ways out there?
Thanks
Just curious, I will create my own box and assign the answer to -1 if cancel is pushed. Then I can If/then for a positive number and use it that way...
Any other ways out there?
Thanks