Description

Converts Excel Spreadsheet to XLS (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 XlsxToXls(
	string fileXlsx,
	string fileXls
)
Public Function XlsxToXls ( _
	fileXlsx As String, _
	fileXls As String _
) As Integer

Parameters

fileXlsx
String
Path and file of source XLSX file.
fileXls
String
Path and file of destination XLS file.

Return Value

0 - Ok.

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

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

See Also