in reply to protect excel file in perl script
Use Win32::OLE module and try this. my $sheet = $Excel->Workbooks->Open( { FileName => $filetoread, Password => $pas +s } ); [download]