Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to operate on multiple Excel worksheets with variable array

by Gangabass (Vicar)
on Aug 08, 2016 at 05:10 UTC ( #1169324=note: print w/replies, xml ) Need Help??


in reply to How to operate on multiple Excel worksheets with variable array

foreach my $worksheet_num ( 1 .. 5 ) { my $worksheet = $workbook1->Worksheets($worksheet_num); $worksheet->Cells($Row, $Col)->{'Value'} = $var1; $worksheet->Cells($Row, $Col+1)->{'Value'} = $var2; $worksheet->Cells($Row, $Col+2)->{'Value'} = $var3; $worksheet->Cells($Row, $Col+3)->{'Value'} = $var4; }
  • Comment on Re: How to operate on multiple Excel worksheets with variable array
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2020-06-04 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?