Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The print gives me$excel->{DisplayAlerts}=0; $excel_res = 1; $excel->Workbooks(1)->SaveAs($new_spreadsheet) or ($excel_res = 0, $e +w_message = "Could not save spreadsheet"); $en_num = Win32::GetLastError(); $en_err = "message <" . Win32::FormatMessage($en_num) . "> number <" . + $en_num . ">"; $ew_message = "<" . $ew_message . "> is just after saving part file\n" + . "system error text <$en_err>\n"; print "$ew_message\n"; $excel->{DisplayAlerts}=1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Spreadsheet Saving Error
by planetscape (Chancellor) on Jun 30, 2006 at 16:47 UTC |