Chiusura di EXCEL dai task di WIndows

Moderator: Enrico Maria Giordano

Post Reply
Romeo
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Chiusura di EXCEL dai task di WIndows

Post by Romeo »

Salve,

mi capita che dopo avere usato un programmino che opera su excel, nei task di windows trovo tante volte Excel aperto.

COme si fa a chiudere excel da questi task ?

A parte che pensavo utilizzando le istruzioni....:

oExcel:=TOleauto():New("Excel.Application")
..
..
..
oExcel:Qui()
oExcel:End()

mi si chiudesse anche Excel.
Ci mica magari un comando del tipo: oExcel:Scarica_Excel_dal_Task_di_Windows_?()

Grazie
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Chiusura di EXCEL dai task di WIndows

Post by Enrico Maria Giordano »

E' sufficiente oExcel:Quit(). Togli oExcel:End().

EMG
Romeo
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Chiusura di EXCEL dai task di WIndows

Post by Romeo »

ok grazie
Post Reply