Return-Path: Delivered-To: apmail-poi-user-archive@www.apache.org Received: (qmail 68215 invoked from network); 30 Sep 2009 08:01:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 08:01:26 -0000 Received: (qmail 32548 invoked by uid 500); 30 Sep 2009 08:01:26 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 32516 invoked by uid 500); 30 Sep 2009 08:01:25 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 32506 invoked by uid 99); 30 Sep 2009 08:01:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 08:01:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of abhishek.c1984@gmail.com designates 209.85.216.181 as permitted sender) Received: from [209.85.216.181] (HELO mail-px0-f181.google.com) (209.85.216.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 08:01:16 +0000 Received: by pxi11 with SMTP id 11so8165686pxi.0 for ; Wed, 30 Sep 2009 01:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=VTpAjrPfMhA+Ew0xg7/Lo5ZNKUURyy659nPN9YubhDA=; b=LDyG2FiychvWHL4f8OKCJU9qNNs5O5l7l+PbelTqtdCLpitZShgMRVxE2ypJlk0geY Dzt8clTDmO8QIiscsHuPkv1bAjU2/c/olHYvUAbDRNccWylj/k7Pe4tloE1JbVLXxQ+2 pcqoi22ydGrjswLnZclnMzBqYns3Myw6c2J/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PyVBNP+EJh/NdrRZUbih8Rj6fCVZRy2rxUer9mpmT4GHdIc/BX00zCR7xj0QSL3PFD ZZGYPC6hA/bNHD3le8xUqVpezHGxv7kXzKgQpyvgTCqEeH9lQUnz0kANnWPqaDhBbr1m VpO94hLaLMN5MVyehMzPAb7e1STcIHdMhIkE0= MIME-Version: 1.0 Received: by 10.114.163.23 with SMTP id l23mr10054857wae.228.1254297654783; Wed, 30 Sep 2009 01:00:54 -0700 (PDT) In-Reply-To: <44B603857DEB4734B517362855BDAE49@zachary> References: <44B603857DEB4734B517362855BDAE49@zachary> Date: Wed, 30 Sep 2009 13:30:54 +0530 Message-ID: Subject: Re: retrieving data from excel sheet using apache poi From: abhishek reddy To: POI Users List Content-Type: multipart/alternative; boundary=00504502920327efdd0474c6eed3 X-Virus-Checked: Checked by ClamAV on apache.org --00504502920327efdd0474c6eed3 Content-Type: text/plain; charset=ISO-8859-1 thanks for the reply, I can able to retrieve data normally...........iterating thru one after the other row and cell Is there any way poi provides some jdbc kind of functionality in retrieving data? On Wed, Sep 30, 2009 at 12:20 PM, Zachary Mitchell, BCIS < zac.j.m@internode.on.net> wrote: > Firstly, make sure that you have access to the POI > javadoc web page instructions. > > Excel files have the concept of a Workbook, > which is the full File, and sheets within it, > which represent sheets. > > To open a file, you need to convert > a java.io.File or similar to construct the object you need. > > Look at HSSFWorkbook > and HSSFSheet classes. > > Also look at the "Row" classes. > You read rows, and cell indices across rows. > > To copy,cut or pase, you use a "CellRangeAddress" > object. > > If you're a confident java programmer, this is the start you will need! > > Z. > > > > ----- Original Message ----- From: "abhishek reddy" < > abhishek.c1984@gmail.com> > To: > Sent: Wednesday, September 30, 2009 3:45 PM > Subject: retrieving data from excel sheet using apache poi > > > > hi every one, >> >> Iam new to apache POI, i have excel spreadsheet with data.......... >> spread sheet contains information about several company >> details............. >> how to retrieve data specific to particular company using apache poi? >> Also is there any way to retrieve distinct companies from excel sheet? >> >> -- >> Abhishek >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@poi.apache.org > For additional commands, e-mail: user-help@poi.apache.org > > -- Abhishek --00504502920327efdd0474c6eed3--