SaveCsv(Int32,Int32,Int32,Int32,String,TextFileSaveFlags,Encoding) Method
In This Topic
Saves the CSV (comma-separated values) file.
Syntax
'Declaration
Public Overloads Sub SaveCsv( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer, _
ByVal As String, _
ByVal As TextFileSaveFlags, _
ByVal As Encoding _
)
'Usage
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim fileName As String
Dim flags As TextFileSaveFlags
Dim encoding As Encoding
instance.SaveCsv(row, column, rowCount, columnCount, fileName, flags, encoding)
Parameters
- row
- The starting row index.
- column
- The starting column index.
- rowCount
- The number of rows.
- columnCount
- The number of columns.
- fileName
- The path and name of the file to which to save the content.
- flags
- The export flags.
- encoding
- The encoding.
See Also