Solved

How do I delete columns from an Excel document on a UNIX platform.

Posted on 2008-10-09
3
658 Views
Last Modified: 2013-12-05
We're using the PERL module Spreadsheet::WriteExcel to create spreadsheets on our UNIX system.  We have a workbook we generate that has many sheets.  We would like to publish two version of it.  The second version having many of the columns removed.  Is there a way to remove columns from an Excel workbook using PERL or another tool?  We don't want empty columns left in the 2nd version.

Thank you
0
Comment
Question by:steelspy
3 Comments
 
LVL 6

Expert Comment

by:wwnosal
ID: 22681491
Look in here, quite nice examples of parsing and writing excel files on unix.

http://www.ibm.com/developerworks/linux/library/l-pexcel/
0
 
LVL 39

Expert Comment

by:Adam314
ID: 22681609
Do the columns have to be deleted from the existing file?  Or could you create two files where you are now creating one.

Using the write_* commands, you could just not write the columns of the second file you don't want there.
0
 

Accepted Solution

by:
steelspy earned 0 total points
ID: 22701522
There does not appear to be a vehicle to delete columns using these tools.  The Perl module spreadsheet::writeexcel  mandates that you specify column numbers.  Thus we require extensive effort to publish two version of the same spreadsheet.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question