RMK= Reply to Stampcoin, W.P, ronaldwalcott and WarrenBelz (and also others possible Power Apps Community Members) with some new approaches.
Hi, Power Apps Community Members.
ISSUE: I'm trying to offer to the Users the possibility to choose which Excel Spreadsheet file name they want to open in my PA Application.
In the example image below, in the Data List of PA Application, the Excel Spreadsheets file names (which were imported into the PA Application as individual Tables from local OneDrive using the component OneDrive for Business), are Excel_1, Excel_2 and Excel_3.
Then, I included in one Gallery called “Excel_List” all the Excel Spreadsheet file names in order to available the possibility to the User for choosing which Excel Spreadsheet file name they want to open).
When the User chooses, the Excel Spreadsheet file name he or she want to open (browsing the Gallery called “Excel_List”), I save into a variable (called EXCEL_NUMBER_SELECTED) the Excel Spreadsheet file number associated to Excel Spreadsheet file name selected and which must be open in one Gallery called “Excel_Data.
If I work as common way, when I insert manually the first letters (in option called Item in the Gallery called Excel_Data) of the Excel Spreadsheets file names, all Excel Spreadsheets file names (which were imported into the PA Application as individual Tables from local OneDrive) are shown in one list and it is possible to choose one of them as the one I want to open without any problem (pls, see the image below).

But, if I insert in the option called Item (in the Gallery called Excel_Data) the variable name (EXCEL_NUMBER_SELECTED) with the Excel Spreadsheet file name that the User wants to open (and it was chosen before in the Gallery called Excel_List which has all imported Excel Spreadsheets file names) instead of selected by me and inserted manually the Excel Spreadsheet file name to be shown in this Gallery called Excel_Data, an error message is presented informing that it isn't a Table Name (“Valor Table esperado”= “Table Value expected”). Pls, see the image below.
Even when I use the command called “Table”, and I include the variable name (EXCEL_NUMBER_SELECTED) between the parentheses, the same error continue to be shown.
In this case, the command “LAUNCH” can’t help since it accesses an External Link (as I understood) and not a Table imported into the Application.
But, if there is another command that could open Table imported into the Application, it will solve this problem.
So, my question is if someone already had tried to do it and if also had faced this same problem, and of course, if the solution had been found.
Thank you all in advance for your reply.
Altino.