To use named parameters, you need to use a hash reference. This line uses a reference to an anonymous hash:
my $Sheet2 = $Book->Worksheets->Add( {after => $Book->Worksheets($Book->Worksheets->{count})} );
In reply to Re: Win32::OLE Excel Adding worksheet after last current sheet
by jsprat
in thread Win32::OLE Excel Adding worksheet after last current sheet
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |