PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WDxx - Anyone using LibXL?
WDxx - Anyone using LibXL?
Débuté par Alen U., 26 aoû. 2016 11:00 - 1 réponse
Posté le 26 août 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
Posté le 27 août 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")