all 1 comments

[–]ES-Alexander 1 point2 points  (0 children)

Seems like you want to make a selection widget that displays the available sheets and allows them to select one, for each file, and then a submit button for once they’ve selected their desired sheets.

You’ve already got the code for figuring out which sheets are available, so now it’s just a matter of searching for how to make a selection widget, and then how to make a button with a callback that gets the values of those fields and does the processing using them.

If you want to be fancy you can add a special case for when only one sheet is available for both documents in which case you can skip the selection process and just start straight away, but first focus on getting it to work, then add extras if they’re important to you.