Link to home
Start Free TrialLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

get column number Apache POI in Java. How to

Hi;

I am simply trying to get the column number of a xls sheet which has a value in it (any value)

I think I can do it but there should be a simple one liner or a simple approach. Any help?

Regards.
Avatar of jazzIIIlove
jazzIIIlove
Flag of Sweden image

ASKER

It's windows 7. POI is an apache project.
I am using poi-bin-3.9-20121203.zip

regards.
This is a fairly straightforward example of a java program using apache's POI to read an Excel file:
http://viralpatel.net/blogs/java-read-write-excel-file-apache-poi/
aikimark: I think it would be best to remove the Linux Apache zones.  This question has to do with Java and reading excel docs.  It has nothing to do with the OS, Linux, Apache.  The asker put in the most likely zones for getting an answer.
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial