Skip to content

csv2xls

csv2xls is a conversion tool from CSV file format to Excel format

Syntax

csv2xls ver. 1.2 by Opera Company
Usage: csv2xls [options...] [csvinputfile]
-o, --output <output file> output file path
-i, --base-file <xlsfile> load the xlsfile and fill inside it
-BR, --offset-row <row #> insert offset for target rows
-BC, --offset-column <column #> insert offset for target columns
-s, --separator <char> separator character. Use \t for TAB
-n, --no-title no first line columns names
-N, --update do conversion only if output file is older or not exist
-0, --no-drop-empty no drop empty fields
-q, --drop-quotes drop quotes
-c, --clip-spaces clip initial and final spaces in the values
-f, --filter filter column names (name|name|name)
-U, --import-UTF8 import from UTF8
-W, --import-wide-char import from WideChar
-S, --sheet name of the sheet to create or update
-k, --skip skip initial lines lines
-K, --skip-data skip data until the line (included)
-F, --use-format parse the values for format syntax.
Format is a prefix on the value. Accept #BOLD# #ITALIC# #HIGHLIGHT#
-a, --auto-width set the width of the columns based on the content
Examples: csv2xls list.txt
 csv2xls -oproducts.xls products.csv
 csv2xls customers.csv >customers.xls
 csv2xls customers.csv | xalan.exe - style.xsl