Hello
oExcel := CreateObject( "Excel.Application" )
oExcel:WorkBooks:Add()
oExcel:Visible := .F.
oExcel:AlertBeforeOverwriting := .F.
*
oExcel:ActiveWorkBook:SaveAs(cNameXlsx)
or
oExcel:ActiveWorkBook:SaveAs(cNameXls,56)
*
oExcel:Quit()
Greetings
brunello pulix
Error on oSheet1:SaveAs(cFILE_NAME)
Moderator: Rathinagiri
-
- Posts: 80
- Joined: Sat Apr 24, 2010 10:17 am
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Error on oSheet1:SaveAs(cFILE_NAME)
Thanks Brunello !
I will take a look at it.
Serge
I will take a look at it.
Serge
There's nothing you can do that can't be done...
Re: Error on oSheet1:SaveAs(cFILE_NAME)
ERROR 2147352567
I have encountered this error today & found it was data error. Text started with "=" eliminated it with code & problem is solved
Hope it will be beneficial to others!!!
Regards
Sudipto Barua
I have encountered this error today & found it was data error. Text started with "=" eliminated it with code & problem is solved
Hope it will be beneficial to others!!!
Regards
Sudipto Barua