# v5.x.x issue - Excel worksheets

**URL:** <https://forum.knime.com/t/v5-x-x-issue-excel-worksheets/75463>\
**Category:** Feedback & Ideas\
**Created:** [November 21, 2023, 2:59pm UTC](https://forum.knime.com/t/v5-x-x-issue-excel-worksheets/75463 "2023-11-21T14:59:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sw1336](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/ecb155/32.png) [@sw1336](https://forum.knime.com/u/sw1336)\
**Post date:** [November 21, 2023, 2:59pm UTC](https://forum.knime.com/t/v5-x-x-issue-excel-worksheets/75463/1 "2023-11-21T14:59:54Z")

</div>

**Description:**  
When working with an Excel file ( **that is defined using a variable** ) with multiple worksheets, if you select a sheet that is not the first one, then when you reset the node (e.g. monthly file) and open the Excel config box, the previously selected sheet is not selected; rather, the first radio button is selected.

This is very annoying (and for obvious reasons very dangerous) especially if you have a large number of sheets in a single file.

I don’t know if this is a bug - could be by design.

This happened in the previous version as well. I don’t think it happened in v4.x…

**Steps to reproduce:**

1. Select Excel Reader
2. Select an Excel file ( **using a variable** ) with multiple worksheets
3. Select any worksheet, but not the first one.
4. Run - all good.
5. Save, close KNIME and restart
6. Open the workflow and click configure in the Excel node.
7. The previously selected node is no longer selected; rather, the first option is selected!

**Actual results:**  
In my example, I had previously selected Networx Adjustments. Now it is preselected to the first worksheet “Networx Report”.

**Expected results:**  
Previously selected worksheet (Networx Adjustment) should be pre-selected.

**Attachments:**

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/1/2/12d06842be4b229fe6b78e83ae04fa4943715d96.png)

**OS:**  
Win 11

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [November 21, 2023, 3:19pm UTC](https://forum.knime.com/t/v5-x-x-issue-excel-worksheets/75463/2 "2023-11-21T15:19:15Z")

</div>

@sw1336 there is this very old thing. I am not sure if it is related but it might be:

> [@\[bug or no bug ?\] Excel Reader preconfigured work sheet selection options](https://forum.knime.com/t/bug-or-no-bug-excel-reader-preconfigured-work-sheet-selection-options/38226/7):
>
> @Geo what you could do is force the use of sheet\_selection = “NAME” thru a Flow Variable in case of doubt. Maybe not the most elegant way but shout provide an additional layer of security. And indeed under certain circumstances it seems to revert to the default value. Not able to reproduce it yet in a constant way. But might be worth looking into, @laaaarsi.

There is/was a ticket for that in case anyone wants to take a look [AP-18133](https://forum.knime.com/search?q=AP-18133)
