Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Error getting number of rows in excel.

by Mr. Muskrat (Canon)
on Oct 11, 2002 at 21:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://204670]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found