'Convert XLS' is 10-20 times faster than using Excel. It also allows for the saving and restoring of complex 'conversion jobs'. Specify a 'conversion job' within the command line or Windows scheduler and rest easy.
Power users: Command line capability is fundamental to ALL of our software tools. Demo batch files are installed ready for testing and modification. We are always here to help you implement our software.
Moving/deleting files while converting text files is no problem at all. Skip files already processed...check! These features allow for easy, unattended conversion of whole folders.
If you need to manipulate Excel, CSV, TXT file data, 'Convert XLS' comes with numerous features and specialized processes including:
More info on specific Text file conversions
More info on specific Excel file conversions
Special Promotion: Buy 'Convert XLS' and get 'Convert Doc', 'Convert Image' and 'Convert PowerPoint' free!
Looking for software to convert Fixed Width Text Files to Excel? Yes? Great, we have just the tool you need. 'Convert XLS' has a built in fixed width profile editor allowing you to specify:
The editor makes it easy to create numerous unique fixed width text profiles that can be recalled for use, modified or backed up at your command. We store each profile in a simple text file for easy archiving, editing etc.
'Convert XLS' can convert fixed width text files to XLS (as well as txt to XLSX, CSV, XML, HTML) extremely fast and it does not require MS Excel to be installed. Converting from Excel to a fixed width text file is also possible.
Note: We can handle HUGE text file sizes (gigabytes) without a problem. Unicode and other text encodings (ASCII, ANSI, UTF8 etc.) are supported.
All our conversion tools allow you to automate the process by using:
You can even move or delete the input files after conversion. Skipping files already processed is another popular feature that is included.
'Convert XLS's complete documentation is available on-line for review. Continue reading below for specific instructions on how to use the user interface and command line for converting text to Excel files. Of course please do download it and try it for free.
If you click the ADD button, a
'Conversion Item' is added to the 'task list' at the bottom of the user
interface. You can add as many 'conversion tasks' as you want, and
save the 'Conversion Job' file for use at a later time. See
the File menu for saving and restoring 'Conversion Jobs'.
'Convert XLS' can be especially helpful if you require complicated file conversion jobs done regularly. By saving and recalling a conversion job file, 'Convert XLS' quickly remembers all the file conversion tasks and their details.
Note: The same 'conversion job' file discussed above can be ran by simply double clicking on it within Windows Explorer. It can also be specified in the command line by using the /J switch. For example:
ConvertXLS.exe /J"C:\Conversion Jobs\Convert-TXT-to-Excel-Command-Line.SII"
It is the best TXT to Excel conversion tool you've never used... till today! Click here to download a free trial.
|Still not sure about the user interface? See an online video.|
NOTE: After installation, you can find simple batch files (TXTtoXLS.bat and TXTtoXLSX.bat) for quick and easy usage by going to Start\All Programs\Convert XLS\Example Batch Files. These will work without modification provided the installation was in the default folder. if you have any questions or need additional examples. We will get you up and running fast!
Although we'll discuss the use of the command line here, it's only to give you a taste. For the full, accurate, and up to date information see the 'Convert XLS' command line documentation. If you have trouble running these examples see Helpful Hints For Creating a Command Line.
There are two approaches to using the command line:
A 'Conversion Job' is easily built using the 'Convert XLS' graphical user interface. All the details of the job are saved in a single conversion job file (e.g. 'c:\myjobs\Do-Multi-Step-Conversion.SII). Specifying a conversion job file with the command line is very easy by using the /J switch. You can have hundreds or thousands of tasks specified in the conversion job file, all of which will get executed in one fell swoop. For example:
ConvertXLS.EXE /J"D:\Job Files\Convert TXT to XLS.SII"
Specifying a single conversion task requires a bit more effort, but does not require
the prior creation of a 'Conversion Job' file. Everything that follows below will be about
creating a 'conversion task' to convert from a text file to XLS by command line.
Please keep in mind that converting from text to XLSX
is simply a matter of changing two things. First, change the output path (/T)
to reflect the fact that you are using XLSX files. Second, change the output file type switch (/C)
from /C-4143 to /C51 to specify XLSX.
Also, all the examples below use an 8 bit ANSI/ASCII text file for the input file. To change to Unicode text
files, swap out /F21 with /F42 in the examples.
The first example shows how to convert from a
fixed width text file
to an Excel file.
The second example shows how to convert whole folders of text files.
The third example shows how to specify a range within the input text file to convert to an Excel file.
Each switch shown in blue is described in detail at the bottom of this page.
It is highly recommended you review each switches description before implementing the example,
thereby giving you the full power of 'Convert XLS'.
ConvertXLS.EXE /S"C:\in\input.TXT" /T "C:\out\out.XLS" /C-4143 /F21 /M2 /N"^^^2^MyColumnWidths"
Next we show how to convert
a whole folder (and sub-folders /R) of text files (C:\in\*.txt) to Excel
files located in the same folder. The following syntax would be used for
such a case:
ConvertXLS.EXE /S"C:\in\*.TXT" /T "C:\in\*.XLS" /C-4143 /F21 /M2 /N"^^^2^MyColumnWidths" /R
The /G switch can be used to tell 'Convert XLS' to place each output file in the same folder as each input file. Therefore the command line above is equivalent to the command line below:
ConvertXLS.EXE /S"C:\in\*.TXT" /G /C-4143 /F21 /M2 /N"^^^2^MyColumnWidths" /R
Say you want to specify a range, say A1:B10 within a text file to convert. No problem, modify the /N switch as shown below:
ConvertXLS.EXE /S"C:\in\Input.TXT" /T "C:\Out\Output.XLS" /C-4143 /F21 /M2 /N"^A1:B10^^2^MyColumnWidths"
Specifying ranges can be very powerful.
Sheet: Not useful in these examples. Use "*" or "" for all sheets. You can use names of sheets, or the numeric index. If using numeric indices, you can specify ranges of sheets (i.e. "1,4,10-20" and "4-10,9" etc.).
Range: You could optionally specify a range; say if you only wanted to convert a portion of the input file. Use the same syntax as an Excel range (e.g. A1:B10, B:B). Once converted to an XLS file, you could then use special process 101 to move the data to any cell range.
FixedWidth: 'Convert XLS' Conversion Method only (/M2). Here you can specify how to import/export a fixed width text file. The following numeric values are valid:
0 = Auto size column widths to fit all data (Default)
1 = Use same widths as specified in the Excel file
2 = Use widths specified by the Profile. Widths can be specified in the user interfaces Fixed Width Text Profile Editor.
Profile = If you are specifying a fixed width text profile to use do it with this parameter. Use the Fixed Width Text Profile Editor to generate a profile. The full path to the txt file could be used. As an example if you want to specify to convert sheets called 'Apples' and 'Oranges', and use the range "A2:B20" and a fixed width text file profile named MyColumnWidths you would do so like this: