Is someone having Excel writing code without commate?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Kukulkan
Addict
Addict
Posts: 1352
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Is someone having Excel writing code without commate?

Post by Kukulkan »

Hi,

I'm looking for code for the generation of simple .xlsx files without using COM. The reason is that it has to work cross-platform.

As an .xlsx file is only a zipped XML container, maybe someone already is having PB code to simply export cells with text and numbers?

Thanks,

Kukulkan
ebs
Enthusiast
Enthusiast
Posts: 530
Joined: Fri Apr 25, 2003 11:08 pm

Re: Is someone having Excel writing code without commate?

Post by ebs »

Kukulkan,

Does it have to be .xlsx files? Can you use older .xls files?
If so, I have some code from Paul Squires (and adapted by ABBKlaus)that will write Excel BIFF 2.1 files without needing any COM/ADO/OLE.

Regards,
Eric
User avatar
Kukulkan
Addict
Addict
Posts: 1352
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: Is someone having Excel writing code without commate?

Post by Kukulkan »

Hi Eric,

if it is cross-platform (Win, Lin, Mac) and using PB functions only, I'm very interested.

Best,

Volker
ebs
Enthusiast
Enthusiast
Posts: 530
Joined: Fri Apr 25, 2003 11:08 pm

Re: Is someone having Excel writing code without commate?

Post by ebs »

Hi Volker,

Yes - it uses PB functions only. You can download "Excel_Writer105_PB46X86.zip" from http://www.rsbasic.de/backups/.

Regards,
Eric
User avatar
Michael Vogel
Addict
Addict
Posts: 2677
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Is someone having Excel writing code without commate?

Post by Michael Vogel »

You may have a look at a slightly enhanced version at this thread as well (only few things can be done but exporting data to a xls-file will be easily done)...
User avatar
Kukulkan
Addict
Addict
Posts: 1352
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: Is someone having Excel writing code without commate?

Post by Kukulkan »

Thank you Michael, I will give it a try... :D
Post Reply