Linked List Box Returns #N/A When the Selected Item Is Edited

Last reviewed: November 3, 1994
Article ID: Q69007
The information in this article applies to:
  • Microsoft Excel for Windows, versions 3.0, 4.0, 4.0a, 5.0

SUMMARY

Microsoft Excel versions 3.0 and 4.0 behave differently than earlier versions of Microsoft Excel when the edit box of a linked list in a custom dialog box is edited. If the item in the list box is changed so that it doesn't match any of the list items, then the init result column for that list box will contain the Excel error #N/A.

Earlier versions of Microsoft Excel will return the index to the last valid selection made in the list box, instead of the #N/A. Macros imported from earlier versions of Microsoft Excel may try to use this index feature, which is not available in Microsoft Excel versions 3.0 or 4.0, resulting in a macro execution.


KBCategory: kbusage
KBSubcategory:

Additional reference words: 5.00 3.0 3.00 4.0 4.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.