DLL
To save to a delimited file
Call the SSExportToTextFile function to export an ANSI text file or the SSExportToTextFileU function to export a Unicode text file, and set the parameters as follows:
- If you have multiple sheets, set SSSetSheet first.
-
Set the pcszFileName parameter to a valid path and file name.
If you do not specify an extension, Spread will add .TXT.
-
Set the pcszCellDelim, pcszColDelim, and pcszRowDelim parameters to the text to use as the cell, column, and row delimiters, respectively.
For more information about working with delimiters in text files, see the SSExportToTextFile function or the SSExportToTextFileU function.
- Set the lFlags parameter to specify whether to overwrite or append formatted or unformatted data, and whether to export column headers, row headers, or both.
-
Set the pcszLogFile parameter to the path and file name of the log file you want the control to create.
If you do not want to generate a log file, set the LogFile parameter to "".