Hi guys
I'm wondering how i can insert a word into the top of an excel file using perl without messing with the format. I want to add a row at the top of the file and insert a word in the first row first column keeping same format, having dramas.
I have created a new file with the word i want in 0,0 then i want the other document to copy itself under this word. basically I just want everything to be a row lower than it is in the same format and then insert a word into the first row first column for encryption purposes. Can anyone help?
if ($WE_NEED_TO_DO_ENCRYPTION) { if ($ext =~ /XLS/i) { # open a new excel file insert the word 'encryted' on the 1st ro +w, 1st column. my $workbook = Spreadsheet::WriteExcel->new($report_type . '_' +. $time . $ext); my $worksheet = $workbook->add_worksheet(); $worksheet->write(0, 0, 'encrypted'); # now copy report file into the new xsl file. # THIS IS WHERE I AM STUCK I NEED TO PUT THE REST OF ANOTHER FIL +E HERE IN THE SAME FORMAT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |