Configuring ODBC to access the document Excel (*.xls)
Open the Excel document, select in it the desired cell range (all may be) and give it a name, for example, ExampleExcel. To name a specified range of cells in the Insert menu, click Name and then Define. In the appeared window enter a name. Then save and close the document. Now, you get access to the range you selected. In one Excel document there can be several such ranges with the assigned names. Each of them can be accessed from the program by specifying the name of the range.
Start programthe Data Source Administrator.
In section User DSN or System DSN clickAdd button.
In the appeared window choose Microsoft Excel Driver (*.xls) and click the buttonFinish.
There will be a window with propertiesof the Data Source. Enter a name of a source (Data Source Name), for example, ExampleExcel.
Press the buttonSelect Workbook and choose the necessary file.
ClickOk. Once again Ok.
In the program, in section the DataSource select the data source you created (ExampleExcel).
If for access to the document it is required to enter a name and password, enter them in the appropriate fields.