Documentazione HotXLS

SaveAsCSV metodo

Saves the active worksheet as a CSV file o stream. Restituisce 1 if it succeeds

Sintassi

funzione SaveAsCSV(FileName: WideString): Integer;
funzione SaveAsCSV(Stream: TStream): Integer;

Esempio

This example saves the active worksheet as a CSV file

Workbook.SaveAsCSV('book.csv');