"Filename Is Not Valid" When You Quit Microsoft Excel (133707)



The information in this article applies to:

  • Microsoft Excel for Windows 95
  • Microsoft Excel for Windows NT 5.0

This article was previously published under Q133707

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:

116342 : How To Disable Long Filename Support on FAT Partitions


Modification Type:MinorLast Reviewed:8/15/2005
Keywords:KB133707