in reply to Using Win32::OLE and Excel - Tips and Tricks
$sheet->Cells( $y, $x )->Select(); $Excel->ActiveWindow->{FreezePanes} = 1; [download]