Solved

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

Posted on 2008-10-09
3
652 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now