I was wondering if there were a way to make the following code mandatory. I thought the end would do it but the system seems to substitute in a generic desk code if none is entered.
Please Login or Register to view this content.
I was wondering if there were a way to make the following code mandatory. I thought the end would do it but the system seems to substitute in a generic desk code if none is entered.
Please Login or Register to view this content.
Last edited by bobaftt; 03-06-2009 at 09:18 AM. Reason: code tags
Perhaps along the lines of:
Please Login or Register to view this content.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
well it has to accept alpha characters as the desk code is an individuals initials
Perhaps you need to rephrase your InputBox statement on that basis.
For more info. on Application.InputBox types check out: http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
You can employ a similar approach to that already outlined where you check the LEN of the entered string to check it is 3 chars and if not prompt the user (with option to Exit if preferred).
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks