Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Creating desired number of worksheets in excel

by poj (Parson)
on Sep 11, 2013 at 10:49 UTC ( #1053456=note: print w/ replies, xml ) Need Help??


in reply to Creating desired number of worksheets in excel

Use count in add method.
my $add = 10; my $workbook = $excel-> Workbooks -> Add(); my $last = $workbook->Sheets->Count; $workbook->Sheets->Add({After=>$workbook->Sheets($last), Count=>$add});
poj

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2016-08-24 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (349 votes). Check out past polls.