Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Excel how to open existing worksheet

by bibliophile (Prior)
on Jan 27, 2015 at 14:32 UTC ( #1114635=note: print w/replies, xml ) Need Help??


in reply to Excel how to open existing worksheet

I've never used it, but I would try something like:
use Excel::Writer::XLSX; my $workbook = Excel::Writer::XLSX->new( 'sample.xlsx' ); $worksheet1 = $workbook->add_worksheet("new"); $worksheet1->write(2, 2, 'Name'); $worksheet2 = $workbook->add_worksheet("old"); $worksheet2->write(2, 2, 'Name'); $worksheet3 = $workbook->add_worksheet("latest"); $worksheet3->write(2, 2, 'Name'); $worksheet1->write(3, 3, 'Something else');

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1114635]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2022-10-05 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (24 votes). Check out past polls.

    Notices?