Cannot Restrict Data Entries to Numbers in Custom Data Form

Last reviewed: November 3, 1994
Article ID: Q69610
Summary:

Custom data forms in Excel are limited to text boxes (Type 5) and edit boxes (Types 6-10). Types 7 and 8 are integer and number edit boxes, respectively. Therefore, you should be allowed to type only numbers in these boxes. However, typing text in these boxes is accepted and no error messages are displayed.

More Information:

In a dialog box that is run from a macro sheet, if you try to enter text into a number edit box, you will get an error message explaining that your entry is invalid. But, if you enter a custom data form onto your worksheet, no error message is displayed and the entry is accepted as valid.


KBCategory: kbother
KBSubcategory:

Additional reference words: 2.0 2.00 2.1 2.10 3.0 3.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 3, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.