GetCsv(Int32,Int32,Int32,Int32,String,String,String,Boolean,TextFileSaveFlags) Method
In This Topic
Gets the CSV text from a range.
Syntax
'Declaration
Public Overloads Function GetCsv( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer, _
ByVal As String, _
ByVal columnDelimiter As String, _
ByVal As String, _
ByVal As Boolean, _
ByVal As TextFileSaveFlags _
) As String
'Usage
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
Dim forceCellDelimiter As Boolean
Dim flags As TextFileSaveFlags
Dim value As String
value = instance.GetCsv(row, column, rowCount, columnCount, rowDelimiter, columnDelimiter, cellDelimiter, forceCellDelimiter, flags)
Parameters
- row
- The start row.
- column
- The start column.
- rowCount
- The row count.
- columnCount
- the column count.
- rowDelimiter
- The row delimiter that is appended to the end of the row.
- columnDelimiter
- The column delimiter that is appended to the end of the column.
- cellDelimiter
- The cell delimiter that is appended to the beginning and end of the cell.
- forceCellDelimiter
- If
true
forces the cell delimiter to be appended to a cell. - flags
- The import flags.
See Also