Show/Hide Toolbars

Ultra Mileage

Navigation: Ultra MileCharter

Writing to a Text File

Scroll Prev Top Next More

As well as writing to an Excel workbook, MileCharter can write the mileage charts to a series of text files. Do this by setting Output to to Text File in the Output Options box (top right of themain MileCharter dialog box). MileCharter will then display the Set Output Files button below the Output to drop-down box. Press this button to display the Output Text File dialog box:

 

mchart_out_text

 

Each output attribute (distance, time, cost) requires its own text file. MileCharter takes a user-supplied "file root" and adds a suffix for each of these attributes. The file root is listed in the top box, and can be changed by pressing the "..." button. This displays the standard Windows file output dialog box. Use it to select a new output file.

 

The Example file name box illustrates what the final distance output file will look like. In the above example, the file root has been specified as "C:\Users\richard\Documents\output.txt". MileCharter will add a suffix just before the file extension. The distance data will be written to a file called "C:\Users\richard\Documents\output_d.txt". The "_t" suffix is used for time data; and "_c" for costs.

 

The output files are standard text files with the same layout as the Excel worksheets. Commas are used as the default separator, but semi-colons or tab characters can also be chosen. These latter options are particularly useful if you are in a locale that uses the comma character as a decimal point.