ExcelWorkbookSaveToCsv Method (Int32, String, String) |
Saves the worksheet at the specified index to a file in CSV format. The default UTF-8 text encoding is used when saving the output file.
Namespace:
ExpertXls.ExcelLib
Assembly:
expertxls (in expertxls.dll) Version: 7.0.0
Syntax public void SaveToCsv(
int worksheetIndex,
string csvFileName,
string fieldsSeparator
)
Public Sub SaveToCsv (
worksheetIndex As Integer,
csvFileName As String,
fieldsSeparator As String
)
Parameters
- worksheetIndex
- Type: SystemInt32
The zero based index of the worksheet to be saved. - csvFileName
- Type: SystemString
The path of the saved CSV file. - fieldsSeparator
- Type: SystemString
The fields separator in the saved CSV file
See Also