View Full Version : Create excel file
kmsharad83
17th May 2012, 09:21
Hi,
I want to create a excel 2008 file in Qt on mac operating system.
Can anyone give me some tips?
Thanks
d_stranz
17th May 2012, 16:49
Google is your friend: "excel 2008 xml library C++"
http://www.libxl.com/
http://support.microsoft.com/kb/953823
http://www.codeproject.com/Articles/22935/A-Very-Easy-to-Use-Excel-XML-Import-Export-Library
Microsoft's XML specification for Excel is probably the only way to do this on a Mac, since you can't use Excel's COM library there.
But then if all you want is text output, the easiest thing to do is just write out a CSV (comma separated values) file using QTextStream. Excel will read that in with no problems at all.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.