XL98: Error Saving File to Path Longer Than 254 Characters

Last reviewed: February 2, 1998
Article ID: Q176272
The information in this article applies to:
  • Microsoft Excel 98 Macintosh Edition

SYMPTOMS

When you save a file in Microsoft Excel 98 Macintosh Edition, you may receive one of the following error messages:

   " cannot be accessed. The file may be read-only, or you might be trying
   to access a read-only location. Or, the server the document is stored on
   may not be responding.

   -or-

   Microsoft Excel cannot access the file '<Long Path Name>'.
   There are several possible reasons:

   - The file name or path name does not exist.
   - The file you're trying to open is being used by another program. Close
     the document in the other program, and try again.
   - The name of the workbook you're trying to save is the same as another
     document that is read-only. Try saving the workbook as a different
     name.

   -or-

   Document not saved.

   -or-

   '<Filename>' could not be found. Check the spelling of the file name,
   and verify that the file location is correct

   If you are trying to open the file from your list of most recently used
   files on the File menu, make sure that the file has not been renamed,
   moved, or deleted.

When you click OK, you receive the following error message:

   Document saved successfully. Cannot reopen the saved document due to low
   memory. Please close the document.

CAUSE

This problem may occur when the path to the folder in which you are saving the file exceeds 254 characters.

WORKAROUND

To work around this problem, make sure that the path to the file contains fewer than 255 characters. To do this, do either of the following:

  • Rename the folders that contain the file so that they have shorter names and the resulting path contains less than 255 characters.

    -or-

  • Move the file to a folder with a shorter path name.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For more information about saving files, click the Index tab in Microsoft Excel Help, type the following text

   saving files, save

and then double-click the selected text to go to the "Save a workbook" topic.


Additional query words: XL98
Keywords : xlloadsave kberrmsg
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug
Solution Type : kbworkaround


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