[Qt-interest] Qt to MS Excel
RZ
rz at univie.ac.at
Mon Jul 27 19:38:53 CEST 2009
Ankit Agarwal schrieb:
> Hi,
> I have a QTableWidget with 'N' rows and 'N' columns. All the data in the
> table are either numbers or string.
> (N would vary from 20 to 300)
> My requirement is to export all these data from my application to MS
> Excel (.xls format). One way is to get all the data in a .csv file and
> have MS Excel read the .csv file and I have a Macro in MS Excel defined
> for the same. Is there some other more efficient way to do the same?
>
Yes, use ActiveQt. If you google a little (sorry don't have my code at
hand now) you'll find some examples how to "natively" build Excel files
and fill them with data ..
More information about the Qt-interest-old
mailing list