Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Error getting number of rows in excel.

by Mr. Muskrat (Canon)
on Oct 11, 2002 at 21:11 UTC ( #204670=note: print w/replies, xml ) Need Help??


in reply to Error getting number of rows in excel.

cacharbe has a nice writeup on Using Win32::OLE and Excel - Tips and Tricks.
  • Comment on Re: Error getting number of rows in excel.

Replies are listed 'Best First'.
Re: Re: Error getting number of rows in excel.
by cacharbe (Curate) on Oct 12, 2002 at 03:06 UTC
    Thanks.

    As a matter of fact, I even deal with this very question under the section Finding the Last Column and Row, but I'll reprint it here:
    my $LastRow = $Sheet->UsedRange->Find({What=>"*", SearchDirection=>xlPrevious, SearchOrder=>xlByRows})->{Row};

    C-.

    ---
    Flex the Geek

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://204670]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2019-10-14 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?