Hello
Can anyone please provide a code snippet or module to custom delete excel files which are saved in a folder.
In detail: I have an activity that consolidates files from a folder. Extracts file names. Now I need to delete specific excel files post found them unnecessary for consolidation. Once I have all those files deleted from folder, I use another macro to consolidate.
Below you can find the full file name. Is it possible to delete them one by one reading its file name? Please help.
UK 20150318103250.xlsx
UK 20150318092932.xlsx
UK 20150318075439.xlsx
UK 20150318075343.xlsx
UK 20150317142505.xlsx
UK 20150317130000.xlsx
UK 20150317125952.xlsx
UK 20150317125726.xlsx
UK 20150317122350.xlsx
UK 20150317115516.xlsx
UK 20150316133056.xlsx
UK 20150316091003.xlsx
UK 20150313162155.xlsx
UK 20150312194150.xlsx
Many thanks in advance
Karthik
Can anyone please provide a code snippet or module to custom delete excel files which are saved in a folder.
In detail: I have an activity that consolidates files from a folder. Extracts file names. Now I need to delete specific excel files post found them unnecessary for consolidation. Once I have all those files deleted from folder, I use another macro to consolidate.
Below you can find the full file name. Is it possible to delete them one by one reading its file name? Please help.
UK 20150318103250.xlsx
UK 20150318092932.xlsx
UK 20150318075439.xlsx
UK 20150318075343.xlsx
UK 20150317142505.xlsx
UK 20150317130000.xlsx
UK 20150317125952.xlsx
UK 20150317125726.xlsx
UK 20150317122350.xlsx
UK 20150317115516.xlsx
UK 20150316133056.xlsx
UK 20150316091003.xlsx
UK 20150313162155.xlsx
UK 20150312194150.xlsx
Many thanks in advance
Karthik