Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Wed Aug 06, 2025 6:36 pm

image1.png
image1.png (187.94 KiB) Viewed 9 times
I have tryed to convert a Excel sheet to Comma separated file.

Downloaded spire in a C# project. and copied the code from

CSV-to-Excel-Convert-CSV-to-Excel-with-C-VB.NET.html

jsl_dk_CS
 
Posts: 1
Joined: Wed Aug 06, 2025 4:09 pm

Thu Aug 07, 2025 3:30 am

Hello,

Thank you for your inqury.
Please refer to the following code setting to obtain the result file with "" :
Code: Select all
sheet.SaveToFile("ExcelToCSV.csv", ",", Encoding.UTF8,true);
Sincerely,
Talia
E-iceblue support team
User avatar

talia.liu
 
Posts: 331
Joined: Mon Apr 14, 2025 3:33 am

Return to Spire.XLS