Greetings!!!
i downloaded the Excel library, from this post:
Excel Library
I have a template file ... when i try to copy it into a new one, the new file does not contain the contents of the original.
This is the piece of code i am using, so far:
I attach a screenshot, both template and copied file.
Thanx in advance, any ideas will be appreciated !!!!
i downloaded the Excel library, from this post:
Excel Library
I have a template file ... when i try to copy it into a new one, the new file does not contain the contents of the original.
This is the piece of code i am using, so far:
B4X:
Dim xlsEntrada As ReadableWorkbook
xlsEntrada.Initialize(File.DirAssets,"PURCHASE_TEMPLATE.xls")
Dim xlsSalida As WritableWorkbook
Dim hojaArticulos As WritableSheet
xlsSalida.Initialize2(File.DirRootExternal, "PURCHASEFILE.xls",xlsEntrada)
hojaArticulos = xlsSalida.GetSheet(0)
xlsSalida.Write
ToastMessageShow("File generated.",True)
I attach a screenshot, both template and copied file.
Thanx in advance, any ideas will be appreciated !!!!