Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-10-09
3
Medium Priority
?
668 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Six Sigma Control Plans
Suggested Courses

636 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