SaveTextFileRange(Int32,Int32,Int32,Int32,Stream,TextFileSaveFlags,String,String,String) Method
In This Topic
Saves the range of cells in the sheet as delimited text and saves to a stream with the specified delimiters.
Syntax
'Declaration
Public Overloads Sub SaveTextFileRange( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer, _
ByVal As Stream, _
ByVal As TextFileSaveFlags, _
ByVal As String, _
ByVal columnDelimiter As String, _
ByVal As String _
)
'Usage
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim stream As Stream
Dim flags As TextFileSaveFlags
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
instance.SaveTextFileRange(row, column, rowCount, columnCount, stream, flags, rowDelimiter, columnDelimiter, cellDelimiter)
Parameters
- row
- The starting row index.
- column
- The starting column index.
- rowCount
- The number of rows.
- columnCount
- The number of columns.
- stream
- The stream to which to save the text of the range.
- flags
- The export flags.
- rowDelimiter
- The row delimiter string.
- columnDelimiter
- The column delimiter string.
- cellDelimiter
- The cell delimiter string.
See Also