Mary Anderson <> wrote:
>> Hi All,
>     I have picked up ParseExcel and started to work with it.  I am
> having a problem with code that essentially looks like this: 
> 
>     for ($iR = 0; ($oWkS->{MaxRows} && $iR <=$oWkS->{MaxRows}, $iR++){
>        for ($iC=0; ($oWkS->{MaxCols} && $iC <=$oWkS->{MaxRows},

Shouldn't you be comparing $iC against $oWkS->{MaxCols} here? But I
don't know if that is the cause of your problem. Also, your loop control
seems flawed. Surely the row numbers run from 0 to MaxRows - 1, or 1 to
MaxRows (similar for columns).

>               $iC++){ $oWkC = $oWkS->{Cells}[$iR][$iC];
>                MyString .= " $oWkC->Value;
>        }
>     }

HTH

-- 
Brian Raven 


=================================
Atos Euronext Market Solutions Disclaimer
=================================
The information contained in this e-mail is confidential and solely for the 
intended addressee(s). Unauthorised reproduction, disclosure, modification, 
and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message do not 
necessarily reflect those of Atos Euronext Market Solutions.

L'information contenue dans cet e-mail est confidentielle et uniquement 
destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. 
Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail 
vous parvient par erreur, nous vous prions de bien vouloir prevenir 
l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre 
systeme. Le contenu de ce message electronique ne represente pas necessairement 
la position ou le point de vue d'Atos Euronext Market Solutions.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to