Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 25938 invoked from network); 21 Sep 2004 15:31:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Sep 2004 15:31:39 -0000 Received: (qmail 62643 invoked by uid 500); 21 Sep 2004 15:31:34 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 62587 invoked by uid 500); 21 Sep 2004 15:31:34 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 62574 invoked by uid 99); 21 Sep 2004 15:31:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [206.190.36.79] (HELO smtp101.rog.mail.re2.yahoo.com) (206.190.36.79) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 21 Sep 2004 08:31:32 -0700 Received: from unknown (HELO ?192.168.1.102?) (alexey.k@rogers.com@69.198.113.207 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 21 Sep 2004 15:31:26 -0000 Message-ID: <4150495D.9090001@thoughtspeed.biz> Date: Tue, 21 Sep 2004 11:31:41 -0400 From: Alex Karshakevich User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: POI Users List Subject: Re: Formula problem References: <20040921150607.32347.qmail@web14427.mail.yahoo.com> In-Reply-To: <20040921150607.32347.qmail@web14427.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Pavan, Entire columns must be hidden, not individual cells. Just set the width of the column to 0 (HSSFSheet.setColumnWidth(short column, short width)) and it will do the trick. We also did the same HSSFCellStyle.setHidden(true) for each cell. Another solution might be to try and store the temporary values in another 'scratchpad' sheet. Alex. Pavan Guduru wrote: >Thanks Alex, >Your solution is working. But now I am not able to hide the cells where the intermidiate formula value is stored. > >HSSFCellStyle.setHidden(true) doesnot seem to be working to hide the value in the cell. >Is there anyway to hide the value of the cell. > >Thanks >pavan > --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: poi-user-help@jakarta.apache.org