Hello,

I can't solve problem, help please.
I've create script for findin empty cell in Excel:

        for ($iCell = 2; ($Cell ne ""); $iCell++) { #Defining
last busy row in A column

                $Cells = $Sheet->Range("A$iCell");
                $Cell = $Cells->{Value}; #get the contents at
(row=A$iCell, col=1) RW

                open (DEBUG,
'>>c:\\mydocu~1\\Perl\\Temp\\debug.txt') or die "Can't
open debug.txt.\n";
                print (DEBUG "Value for cell A$iCell is:  $Cell\n");
                close (DEBUG);

                print ("A$iCell - $Cell\n");

        } #End of for ($iCell

When script find empty cell it send message: "Use of
uninitialized value in string ne at...."
and program finished.

What problem is? How to avoid this problem.





=====


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to