Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I have been a grateful member of this site for several years. I love this site and refer everyone to it!..."

Geography

Where in the world do Tek-Tips members come from?

Maximum number of columns?

sjakiePP (Programmer)
9 May 12 4:58
Dear all,

Is there a maximum number of columns I can retrieve from an excel sheet? I am using Selenium with Excel through an ODBC connection. When I get to columnnr 256, my program just stops. No warning or exception is given.

I'm using jdk1.7.0_03 with Excel driver version 12.

If there is a limit, what are good alternatives? Something like Apache POI?

Thanks in advance.

With kind regards,
Sjakie

---------------------------------------------
Yes, the world is full of strange people.

TonHu (Programmer)
9 May 12 6:53
Apache POI is indeed a good alternative for reading Excel, and I'd expect it to be much faster than JDBC too.

I'd expect the 256 column limit be related to the JDBC driver you are using.
sjakiePP (Programmer)
9 May 12 9:44
Thanks for your reply.

POI is faster indeed. Now I have converted my script to use POI and it works very fast. Also it showed I had some errors in my code, which are now fixed...

---------------------------------------------
Yes, the world is full of strange people.

TonHu (Programmer)
10 May 12 6:37
Great!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close