Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Help,WIN32::OLE parse EXCEL ,run error

by Sinistral (Monsignor)
on Jan 25, 2011 at 15:30 UTC ( [id://884145]=note: print w/replies, xml ) Need Help??


in reply to Re: Help,WIN32::OLE parse EXCEL ,run error
in thread Help,WIN32::OLE parse EXCEL ,run error

That's because you're not effectively using the Win32::OLE interface to Excel. You want to use the Find function. See a handy reference of Excel methods at the Tek-Tips Forums site. Specifically, check out the "#___ FIND LAST ROW/COLUMN WITH DATA" section. I think you can adapt that to your needs.

  • Comment on Re^2: Help,WIN32::OLE parse EXCEL ,run error

Replies are listed 'Best First'.
Re^3: Help,WIN32::OLE parse EXCEL ,run error
by Anonymous Monk on Jan 26, 2011 at 05:25 UTC

    After add $last_row and $last_col,program is still slow speed.Is there a way to optimize the code to run by speed?

    Thanks,my friend.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-20 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found