$sheet->Cells( $y, $x )->Select(); $Excel->ActiveWindow->{FreezePanes} = 1;