Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C99041021F for ; Tue, 9 Jul 2013 09:29:18 +0000 (UTC) Received: (qmail 70264 invoked by uid 500); 9 Jul 2013 09:29:16 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 70157 invoked by uid 500); 9 Jul 2013 09:29:02 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 70134 invoked by uid 99); 9 Jul 2013 09:28:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 09:28:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 09:28:56 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 10F051B8F7; Tue, 9 Jul 2013 09:28:36 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 55185] ISNUMBER function doesn't work in if statement Date: Tue, 09 Jul 2013 09:28:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: HSSF X-Bugzilla-Version: 3.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: srousseau@sodifrance.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=3D55185 --- Comment #3 from srousseau@sodifrance.fr --- (In reply to srousseau from comment #2) > (In reply to Nick Burch from comment #1) > > After changing a formula, you must trigger a recalculation to ensure the > > cached value is correctly stored/set in the file > >=20 > > See http://poi.apache.org/spreadsheet/eval.html for instructions on how= to > > do this >=20 > Great!! > It works with HSSFFormulaEvaluator.evaluateAllFormulaCells(myWorkBook). >=20 > I upgrade from POI 3.0 to POI 3.9 and I didn't need to call this code. So= I > didn't know about "Formula Evaluation". >=20 > Thanks a lot ! >=20 > Stephane Hello, I dont't know what I've changed since last Tuesday but I doesn't work anymo= re. I now see "toto" as result. I'm using HSSFFormulaEvaluator.evaluateAllFormulaCells(book.getWorkbook());= and book.getWorkbook().setForceFormulaRecalculation(true); but the cell value is not refreshed. But I can see the call to evaluateFormulaCell for each formu= la cell. In excel, I have to click in the cell to refresh the cell value as in the beginning. I run Excel 2010 with HSSFWorkbook. So, if anybody has idea ... Regards St=C3=A9phane Rousseau --=20 You are receiving this mail because: You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org