Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Deleting entire column in an excel

by harishnv (Sexton)
on Mar 11, 2018 at 10:02 UTC ( [id://1210646]=perlquestion: print w/replies, xml ) Need Help??

harishnv has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have several sheet in one .xls file. i want to delete a particular column in all the sheets. how to do?

Replies are listed 'Best First'.
Re: Deleting entire column in an excel
by Corion (Patriarch) on Mar 11, 2018 at 10:10 UTC

      I have asked in that question but didn't get an answer. shifting the table i could do. I'm not using Win32::OLE.

        Win32::OLE would be the best way to do this. You could use Spreadsheet::ParseExcel::SaveParser but be aware of limitations.

        You can only rewrite the features that Spreadsheet::WriteExcel supports so macros, graphs and some other features in the original Excel file will be lost. Also, formulas aren't rewritten, only the result of a formula is written.
        poj

Log In?
Username:
Password:

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

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

    No recent polls found