excel - How to make new copy a worksheet with Spreadsheet::ParseExcel -
I have a template.xls with only one sheet.
I have a new XL template, as many sheets, each sheet, template. Using the Sheet in XLS
I think that with just one sheet it can create a new axle and modify it, how can I make a new copy in the new xls sheet ?
I tried the following code but with no luck
my $ parser = new spreadsheet :: ParseExcel :: SaveParser; My $ template = $ parse- & gt; Parse ('template.xls'); My $ workbook = $ template- & gt; SaveAs ('new.xls'); Push @ {$ workbook-> Worksheets ()}, $ workbook-> Sheet (0); $ Workbook- & gt; near ();
I had the same problem. If you are on windows then you can use wet
If not, then I did not find a suitable Pearl solution besides parsing the pars and creating repeated letters with perced data.
If you are familiar with Java, you can use Apache Poie Library
Comments
Post a Comment