Página 1 de 1

Can't terminate Excel oleobject

Publicado: Vie Jul 20, 2007 2:21 pm
por Gejza Horvath
HI,
I use the next code:
oExcel := CREATEOBJECT( "Excel.Application" )
oWorkBook := oExcel:WorkBooks:Add( )
oSheet := oExcel:Get( "ActiveSheet" )
.
.
Some code to fill the sheet
.
oWorkBook:Close(.T.)
oExcel:Quit()
The last line should terminate Excel, but it's runnig, listed in TaskManager. At this
moment it is unable to run any other instances of excel, until kill it in TM. Any idea?
Gejza Horváth