Google Groups Home
Help | Sign in
How to get individual xls cell value
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Peter  
View profile
 More options Feb 25, 1:03 am
From: Peter <dotnetconn...@gmail.com>
Date: Sun, 24 Feb 2008 22:03:59 -0800 (PST)
Local: Mon, Feb 25 2008 1:03 am
Subject: How to get individual xls cell value
Hello Bruce,

I have an xls spreadsheet which is really messy with fields and there
are no real columns.
How do I use datastreams.xls to get the value of individual cells.
I am pretty confident I can run loops using x, y positions to get the
data I need, but I cannot figure how to get individual cell values.

Thanks
Peter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shriop  
View profile
 More options Feb 25, 1:12 am
From: shriop <shr...@hotmail.com>
Date: Sun, 24 Feb 2008 22:12:46 -0800 (PST)
Local: Mon, Feb 25 2008 1:12 am
Subject: Re: How to get individual xls cell value
XlsReader has a method to get the value using an x,y coordinate,
http://www.csvreader.com/csv/docs/DataStreams.Common.SpreadsheetReade...
. Using C#, it's reader[x, y], and using VB.Net, it's reader.Item(x,
y). It's inherited from the base SpreadsheetReader class. There's also
a RecordCount property, http://www.csvreader.com/csv/docs/DataStreams.Common.SpreadsheetReade...
, so you know how many records are in the sheet. There should probably
have been a way of finding the number of columns in the sheet without
looping over each record but there currently is not. Hopefully you
have logic to determine how many columns there are.

Bruce Dunwiddie

On Feb 25, 12:03 am, Peter <dotnetconn...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter  
View profile
 More options Feb 26, 3:50 am
From: Peter <dotnetconn...@gmail.com>
Date: Tue, 26 Feb 2008 00:50:54 -0800 (PST)
Local: Tues, Feb 26 2008 3:50 am
Subject: Re: How to get individual xls cell value
Thanks Bruce.

On Feb 25, 5:12 pm, shriop <shr...@hotmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google