XLS2GMS - Gams
XLS2GMS - Gams
XLS2GMS - Gams
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
8<br />
<strong>XLS2GMS</strong><br />
8 interactiveuse<br />
Interactive use<br />
When the tool is called without command line parameters, it will startup interactively. Using it this<br />
way, one can specify the spreadsheet file (.XLS file), the range and the final destination file (a GAMS<br />
include file) using the built-in interactive environment. The main screen contains a number of buttons<br />
and edit boxes, which are explained below.<br />
Input file (*.XLS). This is the<br />
combo box to specify the input file. The<br />
file must be a valid MS Excel<br />
spreadsheet file (*.XLS). The browse<br />
button can be used to launch a file<br />
open dialog which makes it easier to<br />
specify a file. The file may be located<br />
on a remote machine using the<br />
notation \\machine\directory\file.xls.<br />
Range. The range can be left<br />
empty in which case the whole first<br />
sheet is taken. Otherwise the range<br />
can be a single cell (e.g. A1), a block<br />
(e.g. B2:J23), or a region within a sheet<br />
(e.g. Sheet1!A1:C10). The range can<br />
also be a name if the spreadsheet<br />
contains named ranges. The browse<br />
button will start Excel allowing you to<br />
interactively select a range.<br />
Output GAMS Include file<br />
(*.INC). If you want to create a GAMS<br />
include file, then specify here the<br />
destination file. The include file will be<br />
an ASCII file that can be read by GAMS<br />
using the $include command. If the<br />
include file already exists, it will be<br />
overwritten.<br />
Progress Memo. This memo<br />
field is used to show progress of the<br />
application. Also error messages from<br />
the database are printed here. This is a<br />
read-only field.<br />
© 2007 GAMS Development Corporation