Help for this page

Select Code to Download


  1. or download this
    # All non-excel stuff taken out for your viewing ease ;)
    
    ...
        }
      }
    }
    
  2. or download this
    my $file_name = 'test.xls';
    my $xl        = Win32::OLE->new('Excel.Application', sub {$_[0]->Quit;
    +}) or die "Excel failed to load: Win32::OLE->new";
    ...
    $sheets[1]->{Name} = 'grp_avg';
    
    $book->SaveAs($file_name)