Err Msg: "Filename Is Not Valid" When You Quit Microsoft Excel

Last reviewed: March 27, 1997
Article ID: Q133707
5.00 5.00c 7.00 WINDOWS kbusage kberrmsg

The information in this article applies to:

  • Microsoft Excel for Windows NT, version 5.0
  • Microsoft Excel for Windows 95, version 7.0

SYMPTOMS

When you quit Microsoft Excel, you may receive the "Filename is not valid" error message, if both of the following conditions are true:

  • You have logged on to the computer with a user name that exceeds eight characters.

    -and-

  • You have disabled the use of long filenames.

WORKAROUND

To work around this problem, do either of the following:

  • Log on to the computer with a user name that has eight or fewer characters.

    -or-

  • Enable long filenames.

MORE INFORMATION

With Microsoft Excel 5.0 for Windows NT, Microsoft Excel creates toolbar settings that are user-specific. When you quit Microsoft Excel, it attempts to create a toolbar file that contains the user name, such as Username.xlb. For example, if you log on to your computer as the user "Administrator" and long filenames are disabled, when you quit Microsoft Excel you will receive the error message because Microsoft Excel attempts to create a file called Adminstrator.xlb (which exceeds the 8.3 limit).

REFERENCES

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID: Q116342
   TITLE     : How To Disable Long Filename Support on FAT Partitions


KBCategory: kberrmsg
KBSubcategory:

Additional reference words: 7.00 5.00 lfn file name exit
Keywords : kberrmsg
Version : 5.00 5.00c 7.00
Platform : WINDOWS


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: March 27, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.