Help for this page

Select Code to Download


  1. or download this
    my $Book = $Excel->Workbooks->Open("Reten_template.xls") || die "can't
    + open file";
    
  2. or download this
    for (1..$Book->Worksheets->Count) {
        print "$_: <", $Book->Worksheets($_)->Name, ">\n";
    }
    
  3. or download this
    # open Excel file
    use File::Spec;
    my $file = File::Spec->rel2abs("Reten_template.xls");
    my $Book = $Excel->Workbooks->Open($file) or die "can't open $file: $!
    +\n";
    
  4. or download this
    my $Sheet = $Book->Worksheets('JUN05');