I want to rearrange the sheets being generated before writing it to an xls document using apache poi in java. Is there any way of doing it? For ex:sheet Names are "RF for 10","Blended for 10","RF for 30","Blended for 30".
I want the xls to be generated in the following order of sheets: "RF for 10","RF for 30","Blended for 10","Blended for 30".
You can rearrange the order of the sheets in a workbook with the setSheetOrder
method of the Workbook
class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With