- or download this
# use existing instance if Excel is already running
unless (defined $excel)
...
}
#to avoid excessive dialogs when saving in non-Excel format
$excel->{DisplayAlerts} = 0;
- or download this
my $excel = Win32::OLE->new('Excel.Application', 'Quit')
or die "Oops, cannot start Excel";
- or download this
$excel->Quit();
undef $excel;