Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Detecting and Deleting empty rows and cols in excel using win32::OLE

by strat (Canon)
on Sep 20, 2008 at 09:17 UTC ( [id://712711]=note: print w/replies, xml ) Need Help??


in reply to Detecting and Deleting empty rows and cols in excel using win32::OLE

Hello,

you can use the method UsedRange on a worksheet object to find the last used cell in a worksheet object. This way, you don't need to iterate over all 64K rows (or more with Excel 2007) which should save much time.

But I don't know a better way to find out which lines or columns are empty than an iteration.

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

  • Comment on Re: Detecting and Deleting empty rows and cols in excel using win32::OLE
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found