in reply to Re: Perl Excel Formulas With Worksheet Links
in thread Perl Excel Formulas With Worksheet Links


It looks like my guess on the other node was wrong. :-)

However, the solution is the same, iterate through the worksheets twice. The first time add the worksheets and the second time write the data:

foreach my $sheet (keys %$storage_book){ $dest_book->addworksheet($sheet); } my $index = 0; foreach my $sheet (keys %$storage_book){ my $dest_sheet = ($dest_book->sheets())[$index++]; ...

--
John.

Replies are listed 'Best First'.
Re: Re: Re: Perl Excel Formulas With Worksheet Links
by cheryld497 (Initiate) on Feb 13, 2003 at 00:25 UTC
    Absolutely excellent. This did it, and now I understand these Excel modules a bit more. Thank you for your wonderful and timely response. Perlmonks will definitely be my new forum.