DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 215591 - Last Review: September 18, 2011 - Revision: 4.0

This article was previously published under Q215591
For a Microsoft Excel for Windows version of this article, see 323626  (http://support.microsoft.com/kb/323626/ ) .

On This Page

SYMPTOMS

When you try to open a text or comma separated variable (CSV) file, you receive the following error message:
SYLK: File format is not valid

CAUSE

This problem occurs when you open a text or CSV file and the first two characters of the file are the letters ID (uppercase). For example, the text file may contain the following text:
   ID, STATUS
   123, open
   456, closed
				
Note This problem does not occur if the first two characters are lowercase (id).

WORKAROUND

To open your file in Microsoft Excel, first open the file in a text editor and insert an apostrophe at the beginning of the first line of text.

How to Insert an Apostrophe

To add an apostrophe to the beginning of the first line of text in your file, follow these steps:
  1. Open the text file in a text editor, such as SimpleText or TextEdit. Click to place the insertion point before the first character in the first line of text. Press the apostrophe key on your keyboard (').
  2. On the File menu, click Save. Quit the text editor.
  3. You can now open the file in Excel.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

A SYLK file is a text file that begins with "ID" or "ID_xxxx", where xxxx is a text string. The first record of a SYLK file is the ID_Number record. When Excel identifies this text at the beginning of a text file, it interprets the file as being a SYLK file. Excel attempts to convert the file from the SYLK format, but is unable to because there are no valid SYLK codes following the "ID" characters. Because it cannot convert the file, Excel generates the error.

APPLIES TO
  • Microsoft Excel 2004 for Mac
  • Microsoft Excel 2001 for Mac
  • Microsoft Excel X for Mac
Keywords: 
dftsdahomeportal kbbug kberrmsg kbpending KB215591
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support