How to split a excel file into multiple files based on row count using apache poi?
<p>I am new to apache poi, I wanted to split a excel file into multiple files based on row count.</p>

<p>E.g data.xlsx has 15k rows, new files should be like data_1.xlsx with 5k rows,data_2.xlsx should be 5-10k and data_3.xlsx should be 10-15k.</p>