Microsoft KB Archive/230164

= You may receive an error message when you try to save files in Excel 2000 =

Article ID: 230164

Article Last Modified on 2/2/2005

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q230164





For a Microsoft Excel 2002 and Microsoft Office Excel 2003 version of this article, see 291204.

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you attempt to save your workbook, you receive the following error message

Microsoft Excel cannot access the file ' '. There are several possible reasons:
 * The file name or path 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 that you're trying to save is the same as the name of another document that is read-only. Try saving the workbook with a different name.

where  is the network location where you are trying to save your file.

When you attempt to save your file to another location, you receive the following error message:

Document not saved



CAUSE
This problem may occur if all the following conditions are true:
 * You are saving your file to a network drive.
 * The connection to the network drive has been lost.
 * Your workbook contains any of the following items:
 * PivotTables
 * Visual Basic for Applications modules.
 * Embedded objects (such as clip art).



WORKAROUND
To prevent this problem from occurring, you can add the NetworkResiliency subkey to the registry. To do this, follow these steps:

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.  Click Start, and then click Run. In the Open box, type regedit. Click OK. In the left pane, click the plus signs (+) to the left of the following items (in order): 

HKEY_CURRENT_USER

Software

Microsoft

Office

9.0

Excel

 In the left pane, click the Options folder. On the Edit menu, point to New, and then click DWORD Value. Type NetworkResiliency, and then press ENTER.</li> Double-click the NetworkResiliency icon.</li> Type 1 in the Value data box, and then click OK.</li></ol>

This change will take effect the next time that you start Excel.

You will still receive the first error message listed in the "Symptoms" section when you attempt to save a file after you lose network connectivity. However, you will be able to save your file to another location.

Note Your files will open and save more slowly after you add the NetworkResiliency subkey to the registry.

Additional query words: XL2000

Keywords: kberrmsg kbprb kbpending kbsavefile KB230164

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.