java - open excel sheet using hssfworkbook -


I am opening an Excel sheet with 3 tabs, and I am writing in 2 tabs The links are clicked in the form For further explanation, add 3 links form to me, cancel, modify and clicking on a certain link will download the Excel sheet, which is the data in the related tab, the rest 2 tab will have empty data.

But every time a tab is clicked on which link is being opened (data is being written in the right tab), which can confuse the end customer.

How can I ensure that a special tab should be opened in which the data is written.

Thanksgiving

or use XssfWorkBook.setActiveSheet Index) where index is the index of sheet. it should work.

And after doing this, make sure you also need to do the writing work to make the changes permanent.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -