In Classic design, you can use Excel application scope to convert filepath into output datatable variable easily.
However, in modern design, I don’t see the ability to do this in neither Excel Process Scope nor Use Excel File.
Does anyone have a simple solution to replicate this ability (converting filepath to output datatable) using Modern Design?
Thank you for your reply. However, I am trying a workflow where the user will use “Select File” to input the Excel File and the bot will read the sheet names and provide a dialog box asking which sheet they would like to select. Trying for a flexible bot that will work with any file (variables) vs hardcoded values
You can use variables there is no hardcoding needs…for sample I did hardcode but you can use variable in place of file …in place of sheetname and in place of range as well
Excel.Sheet(str_Sheetname).Range(RangeValue)
You can use this to get each sheetname which you can add to a list variable and pass it to dialog box and sheets can be selected and we can pass back the sheetname to the read range activity
I agree with you…this change was made in view of studiox and giving more drag and drop functionality for non developers…but yes it is little cumbersome to use