Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

want to add data in excel but my code is overwriting the sheet  RSS feed

 
Arun santo
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i want to add data in excel.. the below code is overwriting the excel sheet.. i want the data to be appended in a new row..please help

 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you're always writing to rows 10 to 19. The code should determine what the last row is that has data and start below that, instead of always starting at 10.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!