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.

XL2000: AutoSelect May Detect a Double Header


View products that this article applies to.

This article was previously published under Q213967

↑ Back to the top


Symptoms

When the first two rows of the database contain all text, and you then click Sort or AutoFilter on the Data menu (commands that automatically select a range of cells), the second row of text may be treated as the header row.

↑ Back to the top


Cause

When two complete rows of text are at the beginning of the database, and the third row contains text and numbers or just numbers, the auto-detect features of Microsoft Excel may treat the second row of the database as the header row. This behavior can occur if all of the fields for the second row in the database contain text values. If just one field in this second row contains a numeric value, the first row of the database is treated as the header row.

↑ Back to the top


Workaround

If you want all of the rows to be included in the database, and if you want the first row to be treated as the header row, select all of the cells in the database before using either the Sort or the AutoFilter commands.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: KB213967, kbpending, kbbug

↑ Back to the top

Article Info
Article ID : 213967
Revision : 5
Created on : 11/5/2003
Published on : 11/5/2003
Exists online : False
Views : 240