for my $col ( $col_min .. $col_max ) { $worksheet1->set_column($col,$col,$width[$col]) }