I’ve assign a variable to selected file function called “SelectedExc” and put to read Range function the variable (because the excel file name isn’t always the same). But there is an error. See the attached screenshot.
the used sheetname setting is the variable SelectedExc but looks like it is having no value.
Here we do also see a relation to the message “sheets does not exists”
Just ensure that a valid sheetname is used.
As the ranged is limited to B2:B… maybe the statement needs to be adopted from r(1) to r(0) just give a try
Yes the file exist, the error IS the Sheet name i think
How i can open and read the file without know the sheet name? E cause the Excel file are generated from different pc in the net and i dont know the sheet names
I guess, this is what you are looking for…In this post, I have first converted the datatable (one column) into an array later used that array in the input dialog acitivity(which you can ignore)