Description

Converts Excel Spreadsheet OpenXML to CSV (available for Excel 2007 only).

Namespace:  DuoDimension.Sunflower
Assembly:  Sunflower.Excel (in Sunflower.Excel.dll)
Version: 1.0.0.0

Syntax

      
 C#  Visual Basic 
public int XlsxToCsv(
	string fileXlsx,
	string fileCsv
)
Public Function XlsxToCsv ( _
	fileXlsx As String, _
	fileCsv As String _
) As Integer

Parameters

fileXlsx
String
Path and file of source XLS file.
fileCsv
String
Path and file of destination CSV file.

Return Value

0 - Ok.

1 - Can't open source file. Check input file.

2 - Can't create the destination CSV file. Check the permit for destination path.

See Also