Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Excel how to open existing worksheet

by bibliophile (Parson)
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
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 studying the Monastery: (5)
As of 2020-09-27 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (142 votes). Check out past polls.

    Notices?