Spread 8.0 Documentation
ActiveX
Support Options

Glossary Item Box

ActiveX


To save to a delimited file

Use the ExportToTextFile method to export an ANSI text file or the ExportToTextFileU method to export a Unicode text file, and set the parameters as follows:

  1. If you have multiple sheets, specify the Sheet first.
  2. Set the FileName parameter to a valid path and file name.
    If you do not specify an extension, Spread will add .TXT.
  3. Set the CellDelim, ColDelim, and RowDelim 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 ExportToTextFile method or the ExportToTextFileU method.
  4. Set the Flags parameter to specify whether to overwrite or append formatted or unformatted data, and whether to export column headers, row headers, or both.
  5. Set the LogFile 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 "".
Copyright © GrapeCity, inc. All rights reserved.