PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WDxx - Anyone using LibXL?
WDxx - Anyone using LibXL?
Iniciado por guest, 26,ago. 2016 11:00 - 1 respuesta
Publicado el 26,agosto 2016 - 11:00
Hi,
does anyone use LibXL for creating xlsx files?

http://www.libxl.com

I have imported dotnet dll into windev project.

This works fine
clBook is libxl.XmlBook

but I'm unable to add "sheet" to clBook.

BR,
Alen
Publicado el 27,agosto 2016 - 11:04
Hi,
problem was in "dynamic" word

Here is working sample :)

clBook is libxl.XmlBook
clSheet is libxl.Sheet dynamic

clSheet=clBook:addSheet("sample sheet")
clSheet:writeStr(1,1,"This is text")
clSheet:writeNum(2,1,100)

clBook:save("test.xlsx")