I have a situation where I will read several lines, and after some logic, I need to write lines in an Excel worksheet. For this purpose I use Apache POI. However, the problem I ran into is that only the last row (from the loop) is written to Excel
Can someone help me with this or provide a piece of code?
thanks
Nathan
source share