cancel
Showing results for 
Search instead for 
Did you mean: 

Excel

How to take multiple Excel files with file name * ENV * which have extension * .xls, * .xlsx, * .xlsm(dynamic file search)
How to iterate over Excel files dynamically?

------------------------------
Максим Уманец
------------------------------
1 BEST ANSWER

Best Answers

NicholasZejdlik
Level 9
Use the Get Files action in the File Management utility, you can supply a pattern string to match the files (in your case, it will be "*ENV*.xls,*ENV*.xlsx,*ENV*.xlsm"). It will return a collection with the files names, which you can then iterate over using a loop.

------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------

View answer in original post

1 REPLY 1

NicholasZejdlik
Level 9
Use the Get Files action in the File Management utility, you can supply a pattern string to match the files (in your case, it will be "*ENV*.xls,*ENV*.xlsx,*ENV*.xlsm"). It will return a collection with the files names, which you can then iterate over using a loop.

------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------