Page 1 of 1

Excel Saveas error

Posted: Wed Nov 20, 2019 3:56 pm
by Massimo Linossi
Hi.
I have a problem that is really strange. On my machine, a normal win10, I make a little program for saving a table in excel file
and it work perfectly. On the server where I place the same program, with the same excel version, this little function is giving
this error :

Code: Select all

Error: Impossibile trovare la proprietà SaveAs per la classe Workbook. (0x800A03EC)
operation: SAVEAS
filename: Microsoft Excel
[ 1] = C c:\temp\Export_Excel.xls
[ 2] = N -4143
called from: ../../../apache.prg, (b)MAIN, line: 35
called from: TOLEAUTO:SAVEAS, line: 0
called from: pcode.hrb, ELABORAEXCEL, line: 127
called from: pcode.hrb, MAIN, line: 15
called from: HB_HRBDO, line: 0
called from: ../../../apache.prg, EXECUTE, line: 101
called from: ../../../apache.prg, MAIN, line: 46
 
Has someone an idea of how this is happening ?
Thanks a lot in advance
Massimo

Re: Excel Saveas error

Posted: Fri Nov 22, 2019 9:55 am
by Jack
Hi ,
Are you shure you have the right to write in this map : c:\temp

Just a suggestion .

Re: Excel Saveas error

Posted: Fri Nov 22, 2019 7:44 pm
by Massimo Linossi
Hi Jack.
Yes. I have all the permissions.
The problem is on one machine and not in another. Now I'm moving all the programs in this new server and the problem is solved.
But that was really strange.
Thanks for your suggestion and your time.