[Qt-interest] Qt and Microsoft Excel

Ross Driedger ross at earz.ca
Wed Dec 2 16:15:17 CET 2009


On Wed, 02 Dec 2009 07:14:39 -0500, <qt-interest-request at trolltech.com>  
wrote:

> ------------------------------
> Message: 3
> Date: Wed, 2 Dec 2009 13:10:44 +0100 (MET)
> From: "SALOMEHER at terra.es" <SALOMEHER at terra.es>
> Subject: [Qt-interest] Qt and Microsoft Excel
> To: Qt interest <qt-interest at trolltech.com>
> Message-ID:
> 	<31392038.21661259755844022.JavaMail.defaultUser at defaultHost>
> Content-Type: text/plain; charset="utf-8"
> Hi,
> can I read a file Microsof Office Excel (.xls) with Qt?

On a Windows platform, yes.  Look at the QAxObject classes.  The basic  
steps are to create an object with Excel's CLSID, read the file, find the  
worksheet and read/write the cells you want.

If you have had experience with VBA, it should be no problem for you.


-- 
"My music is not difficult, my music is played badly."
Arnold Schoenberg

Ross Driedger
ross_at_earz.ca



More information about the Qt-interest-old mailing list