Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading a Data Range from an excel file

 
N Jain
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can we read a particular Data Range or a particular cell's value from an excel sheet in our java program???
Thanks,
N
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i remember correctly:
"Select * from table where column_name between 1st and 2nd"
 
N Jain
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry i didn't get the answer of question,
let me elaborate the question :-
say i want to read the value of cell 'A12'
OR say i want to read the Range of cells 'A12-H12'???
Now how to do this?
I think now the question is more clear!
Thanks
Originally posted by Adrian Yan:
If i remember correctly:
"Select * from table where column_name between 1st and 2nd"

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!