This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Writing into a .xls file through java  RSS feed

 
vishal goyal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to write into a .xls file through a java program with the control that whenever that .xls file is opened a particular column width is defined by the element having maximum width.
Problem: e.g., the value in a cell in that column is 1234567890 and if the column width displayed is 3, then we see ### until we enlarge the column width.
Please suggest a way to put in the tab separated values(for column breaks) in such a way that the column width is defined by the width of the element having the largest number of characters.
Thanks and Regards,
Vishal.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!