FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Excel Saveas error
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Excel Saveas error
Posted: Wed Nov 20, 2019 03:56 PM
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 (fw): Select all Collapse
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
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Re: Excel Saveas error
Posted: Fri Nov 22, 2019 09:55 AM

Hi ,
Are you shure you have the right to write in this map : c:\temp

Just a suggestion .

Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Excel Saveas error
Posted: Fri Nov 22, 2019 07:44 PM

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.

Continue the discussion