Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 45174 invoked from network); 4 Apr 2006 04:37:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2006 04:37:00 -0000 Received: (qmail 50709 invoked by uid 500); 4 Apr 2006 04:36:58 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 50693 invoked by uid 500); 4 Apr 2006 04:36:57 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 50682 invoked by uid 99); 4 Apr 2006 04:36:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 21:36:57 -0700 X-ASF-Spam-Status: No, hits=3.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,HTML_IMAGE_ONLY_12,HTML_MESSAGE,HTML_SHORT_LINK_IMG_2,MSGID_FROM_MTA_HEADER X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [202.54.124.145] (HELO rediffmail.com) (202.54.124.145) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Apr 2006 21:36:56 -0700 Received: (qmail 17302 invoked by uid 510); 4 Apr 2006 04:35:49 -0000 Date: 4 Apr 2006 04:35:49 -0000 Message-ID: <20060404043549.17301.qmail@webmail30.rediffmail.com> Received: from unknown (61.16.174.22) by rediffmail.com via HTTP; 04 apr 2006 04:35:49 -0000 MIME-Version: 1.0 From: "k vijaya vinayagam" Reply-To: "k vijaya vinayagam" To: poi-user@jakarta.apache.org Subject: Excel Reading using POI Content-type: multipart/alternative; boundary="Next_1144125349---0-202.54.124.145-17289" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Next_1144125349---0-202.54.124.145-17289 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =A0=0AHi,=0AI need to read the Excel sheet using java for which i download= ed the =0A"org.apache.poi".=0A=0AWhen i use it to read normal excel sheets = i don't face any probs it was reading good but in my case i need to read a = excel sheet which has macros. so it's throwing "java.lang.reflect.Invocatio= nTargetException" exception.=0A=0ACode=0A----------------------------------= ---------------------------------=0APOIFSFileSystem fs =3D new POIFSFileSys= tem(new FileInputStream("1.xls"));=0AHSSFWorkbook wb =3D new HSSFWorkbook(f= s);=0A=0A------------------------------------------------------------------= =0A=0Alet me know how i can read the excel with macros...=0A=0AThanks in ad= vance =0A=0A=0A=0AThanks in advance=20 --Next_1144125349---0-202.54.124.145-17289--