-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how create excel from table #29
Comments
Please send me a copy of the tables if possible so that I can reproduce your error message? As for your test code, the fourth parameter in the method (.T.) indicates to save the table to a physical file. So you need to have different xlsx file names or the first two calls to the method has .F. for this parameter which will then add a new sheet. The last call will then save to a physical xlsx file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey Im trying to get luck with this and dont works
could you gime some advices, thank you in advance.
loExcel = NEWOBJECT("VFPxWorkbookXLSX", "VFPxWorkbookXLSX.vcx")
lnWb = loExcel.CreateWorkbook("ArabicTest.xlsx")
always I have this message "Invalid key lenght"
im new in foxpro Im jus triyng to create simple program,I have three files dbf on my folder
and my finally objecty is run somthing like this
---folder
your files from zip (WorkbookXLSX R31.zip)
table1.dbf
table2.dbf
table3.dbf
set defa to "folder"
modi command testprogram
(inside testprogram)
loExcel = NEWOBJECT("VFPxWorkbookXLSX", "VFPxWorkbookXLSX.vcx")
loExcel.SaveTabletoWorkbook(table1.dbf, "myexcel.xlsx", .T., .T.)
loExcel.SaveTabletoWorkbook(table2.dbf, "myexcel.xlsx", .T., .T.)
loExcel.SaveTabletoWorkbook(table3.dbf, "myexcel.xlsx", .T., .T.)
The text was updated successfully, but these errors were encountered: