Programs for Programmers

qtXLS - Read/Write Excel from Fortran

The qtXLS Library offers the programmer routines to access files in the Microsoft Excel format (.xls).

New: 32 and 64-bit versions for Intel Visual Fortran (see release notes).

With qtXLS routines you can

create files in the Excel data format
create tables (sheets) in these files
write data to tables (sheets)
read data from tables (sheets)
enquire information about tables (sheets) and columns

To perform these functions the library provides you with the following routines:

Function group / qtXLS routine

Function

The example program

qtXLSDemoWriteTable.f90 (Fortran 90 source file)

qtXLSDemoWriteTable.cpp (C/C++ source file)

creates the following Excel sheet. The program demonstrates how the qtXLS routines are used.

The qtXLS software is provided as a dynamic-link-library (qtXLS.dll) together with bindings determined to use with your compiler (import libraries and other files necessary to compile and link).

 

Supported Compiler Systems (Bindings)

At present the following compilers are supported

  • Absoft ProFortran for Windows v10.0 (newer versions may be compatible - not tested)
  • Compaq Visual Fortran v6.6
  • Intel Visual Fortran (v10.x and newer versions)
  • Lahey/Fujitsu Fortran for Windows (LF95) v5.7
  • Microsoft Visual C++ v6 and v7 (2003; newer versions may be compatible - not tested)
  • Silverfrost / Salford FTN95 (for Win32) v5.0 and newer versions

These binding may also be suitable for newer versions of the compilers and possibly also for compatible compilers. If your compiler is not listed, but you would like to use qtXLS nevertheless, simply try out the binding anyway to which your compiler manufacturer claims to be compatible.

Download

You can download an evaluation copy of qtXLS (software and documentation in PDF format (2)). The software is limited in function (1). Size of the download file approx. 4 MB
(1) The evaluation copy allows to import and export of rows limited to 50 rows of a single table (sheet). Upon start of a program based on qtXLS there will be a message informing about this limitation.
(2) The Adobe Acrobat Reader (to read documents in PDF format) is to be found here.



Prices & Licensing

The evaluation copy can be changed into a version without limitation (1) by purchase of a qtXLS licence.
The licence allows you to use the qtXLS software for the development of programs, i.e. to create executable files (.exe). In addition, the licence covers the right to the passing on of the qtXLS.dll as well as the licence file (that you will receive on purchase of qtXLS). This means, there are no royalty or run-time fees to pay.

We deliver the licence by sending a licence file via eMail. The licence file contains the data specified by you (for example, name and address), a licence number and a licence key.

System Requirements

To be able to use the qtXLS software, the following is required::

  • PC with a Pentium processor, hard disk with at least 15 MB memory available, a minimum of 32 MB RAM.
  • One of the following operating systems: Microsoft Windows XP, Vista, 7, 8, 10 and compatible.

qtXLS is based on Microsoft Excel ODBC drivers. At installation of Excel these are usually installed. If these drivers are missing, they are either supplied by installation of Microsoft Excel or by installation of the

Microsoft Data Access Components (MDAC)

This is probably the cheaper alternative, because the MDAC can be downloaded for free from Microsoft's WebSite. If the link above doesn't help you to find them, try the search function in Microsoft's "Download Center”.

Of course, besides the above, a compiler system is needed (see the list of supported compilers above).