in reply to Re: Win32::OLE and EXCEL
in thread Win32::OLE and EXCEL

I finally got it. The correct code is
$sheet->PageSetup->{PrintTitleRows} = ($sheet->Rows('$1:$2')->Address) +;
Thanks for the help. Now on to adding page breaks.

Janitored by Corion: Added closing code tag, as per Writeup Formatting Tips