Fixing SYLK error in .csv file

I’ve recently had to generate a .csv file from an SQL query generated through ColdFusion. This all worked without any major problems except for an error the Excel popped up with saying that the file appear to be in SYLK format, etc.

This is caused by using ‘ID’ as the first column header. Changing this to ‘Identity’ sorted the problem out and Excel was able to open the file without any problems.

3 Comments

Thank you! Your solution fixed my problem. I totally see this as an Excel problem.

Glad it came in useful.

This is an Excel problem. However it is for any time where the first cell has contents where the first 2 characters are capitalized.

You can refer to the MS help and support here: http://support.microsoft.com/kb/215591

However, the above user is correct, that by amending the first cell to contain non-capital letters, the issue is usually resolved.