Help for this page

Select Code to Download


  1. or download this
    $excel->ActiveWorkbook->Close(0);
    $excel->Quit();
    
  2. or download this
    $excel = Win32::OLE->GetActiveObject('Excel.Application');
    if ($@) {
    ...
    $book->SaveAs($excelfile);
    $excel->ActiveWorkbook->Close(0);
    $excel->Quit();