× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The Workbook (or HSSFWorkbook) class has a removeSheetAt() method that could be used to remove a sheet from a workbook. I've never used it, myself, but it looks promising...

Alternately, maybe you could keep the sheet, but just change the data that's on it?


On 8/3/2011 4:40 PM, sjones@xxxxxxxxxxxxxxx wrote:
I am looking for the best solution to this scenario. I have a xls that
contains a pivot table on one tab& the data on another. I want to write
an RPG program that will update the data each month using HSSF. Is there
a way to delete to existing data or tab& then populate it again? I see
where I can add a tab using HSSF, but not delete.

Thanks in advance

Steve Jones


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.