posted 14 years ago
Hi Kumar,
You'll probably get better responses if you post less, more targeted code samples, and more information about what you're doing and what's going wrong.
In this case, I haven't worked with the jxl.Workbook class, but I see you create a new one each time you call the write() method, and pass it (I assume) the same file as a parameter. When you later call workbook.write(), I'm guessing it overwrites whatever was in the file with the new contents of the workbook. If that's not what you want to happen, you're going to have to go back to Workbook and see if it has another interface you can use.
Also, take a look at this code:
That's just confusing.