Follow these steps:
-
String excelFiles [ ] = Directory.GetFiles(“folderPath”,“*.xlsx”)
-
Above expression will read all Excel files from folder and will give output as String array.
-
Then use For Each loop Activity to itreate that array of files and use Read Range Activity to read Excel data and use this Activity inside Excel Application Scope Activity.