aspose file tools*
The moose likes Beginning Java and the fly likes validate an excelsheet entries using java code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "validate an excelsheet entries using java code" Watch "validate an excelsheet entries using java code" New topic

validate an excelsheet entries using java code

debashis mehta

Joined: Dec 22, 2010
Posts: 1
HI Experts,

I have a requirement in which i need to validate the excelsheet entries for two conditions:-1)for null values(empty values) of column entries 2)for incorrect datatype for the column entries.Suppose there are two columns:-

1)Emp Number
2)Emp Name

Emp Number is of float datatype(suppose) now if the user is entering the values as integer or date then this values needs to be validated .The incorrect datatype values should be displayed.

Can anyone provide me a sample code for this .This will be of great help...

Thanks and Regards
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
Libraries like jExcelApi and Apache POI can read Excel files.

Ping & DNS - updated with new look and Ping home screen widget
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Welcome to JavaRanch debashis mehta
I agree. Here's the link:
subject: validate an excelsheet entries using java code
Similar Threads
EJB References question/ why this answer?
Read data from ExcelSheet
How To Comapre To Excelsheet
Excelsheet content reading
retrieving data from a databse into an excelsheet