Hello all!
I'm having an issue with application.inputbox throwing a type mismatch error. I'm currently using the application.inputbox to prompt the user to name a new worksheet. I'm using the application.inputbox method because I am able to capture the cancel button click by testing whether the value returned is "false".
The issue that I'm running into is that when I input a string of numbers everything passes through just fine. If I click "cancel" then everything works fine. If I input a single letter character into the inputbox I get a type mismatch error. For the life of me I am unable to figure out why it's doing this.
Any help or suggestions would be greatly appreciated.
Here is the code that I'm using:
Please Login or Register to view this content.
Bookmarks