Hi experts,
I'm trying to read an excel file password protected using the module "Spreadsheet:
It works fine if the excel file is unprotected. But, if it has the option "Protect and Share workbook activated, the script fails"
use Spreadsheet:
use OLE::Storage_Lite;
my $workbook = Spreadsheet:
my $worksheet = ($workbook->sheets())[2];
while ($worksheet->has_data()) {
my @fields = $worksheet->next_row();
$field1="$fields[1]";
$field2="$fields[2]";
$field3="$fields[3]";
}
I am using Excel 2000.
Thank you