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.

Column delimiters are missing in an Excel spreadsheet that is saved as text


View products that this article applies to.

Symptoms

In Microsoft Office Excel, if you save a file in the text or in the CSV (comma separated value) format, Excel puts tabs or commas between each column of the worksheet. However, certain text files may be saved with a different number of tabs or commas in 16-row blocks.

↑ Back to the top


Cause

This behavior occurs only if the cells in the last column contain no information.

↑ Back to the top


Workaround

To make sure that Excel saves tab or comma delimiters for all empty columns, verify that the last column in the file contains some data in at least every 16 rows throughout the file. If the blocks of rows do not contain data, add spaces or other characters in every 16 rows to the cells in the last column, or reorder the columns in the worksheet so that the last column on the worksheet always contains information.

↑ Back to the top


More information

Excel saves text files in 16-row blocks. Therefore, if all the cells in the last column in a 16-row block are empty, Excel saves that area as if the column does not exist. No tabs or commas are saved for that 16-row block.

↑ Back to the top


Keywords: KB77295, kbbug

↑ Back to the top

Article Info
Article ID : 77295
Revision : 2
Created on : 9/19/2011
Published on : 9/19/2011
Exists online : False
Views : 590