Hi Everyone,
Need your suggestion how to dynamically pick up the latest file and previous day file from a folder.
I want to do D-o-D comparison of data from 2 files (current day and previous day).
Daily in a folder I receive 3 files from a batch process for e.g. file names as 2024-10-22, 2024-10-22_1 and 2024-10-22_2. Also these files contains 3 different sheets.
Is it possible to create a workflow with the help of directory tool or macro to pick up daily latest file e.g. 2024-10-22_2 and previous day most recent version e.g. 2024-10-21_2? I need all 3 sheets from these files for comparing d-o-d data.
I have attached sample files.