in reply to Re: Passing Excel Objects in Perl
in thread Passing Excel Objects in Perl

please also check what happens to the value of $row,$column at the first time you invoke the function and for the next time you invoke it.

the notation actually starts from 0 for the first row and the first column

if this is the problem then you may make the $row,$column variables global with value 0 and increment them each time you invoke the function

then reinitialise them to zero at the end of the program.