I have folder with excel files:
Each month folder will be update and name of excel file will be updated too.
I need to open excel file that starts from word ‘Total’, only word ‘Total’ in the name of excel file will be unchangebale, other parts will be changed.
Which activites should I use to open excel file where name starts from word ‘Total’ and copy sheet content into another excel file?
@AkshaySandhu
Path to the folder is stored like this: “Path.Combine(YourPath,LastMonth)”
Following your suggestion I wrote: System.IO.Directory.GetFiles(“Path.Combine(YourPath,LastMonth)”,“Total*”)(0)
but it gets error: Could not find a part of the path