Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

HOW TO: Preserve Formulas If You Save a Document As a Text File in Excel 2000


View products that this article applies to.

This article was previously published under Q213913

↑ Back to the top


Summary

In Microsoft Excel, you may occasionally want to save a document as a text file; for example, to fix corruption in the file.

Although an Excel file is saved as a text file, only the active sheet and the displayed values are saved. All formulas on the active sheet that are not displayed are discarded. This step-by-step article shows you to preserve those formulas that are otherwise discarded.

Preserve Formulas If You Save As Text

You can preserve the formulas when you save the file as a text file if the formulas are displayed on the active sheet.

To display formulas in cells of the active sheet, use one of the following methods.

Method 1: Keyboard

  1. Switch to the worksheet that you want.
  2. Press CTRL+ACCENT GRAVE (`).

Method 2: Options Menu

  1. On the Tools menu, click Options.
  2. Click the View tab.
  3. In the Windows options section, click to select the Formulas check box.
  4. Click OK.
After the formulas are displayed in the cells, the file can be saved as a text file. This preserves both the values and formulas. When you reopen the file, the Text Import Wizard prompts you for the original data type and for you to indicate whether the file is fixed-width or delimited. If you select delimited for the file type and select Tab as the delimiter, the formulas are placed back in their respective cells, and the values that they produce are displayed.

The only way to preserve the formulas and values that were in individual cells on the original worksheet is to open the file as a tab-delimited file. All other methods force the text file to display its formulas when the Text Import Wizard is finished.

↑ Back to the top


Keywords: KB213913, kbhowtomaster, kbhowto

↑ Back to the top

Article Info
Article ID : 213913
Revision : 4
Created on : 9/27/2003
Published on : 9/27/2003
Exists online : False
Views : 264