Help for this page

Select Code to Download


  1. or download this
     my $len = length($value[$col]); 
     $width[$col] = $len if $len > $width[$col];
    
  2. or download this
    for my $col ( $col_min .. $col_max ) {
      $worksheet1->set_column($col,$col,$width[$col]) 
    }
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        $worksheet1->set_column($col,$col,$width[$col]) 
      }
    }