I have tried to write code to delete specified files in a folder C:\data analysis for eg BR1 Period 4 Sales Ledger.xls, BR2 period 5 Sales ledger.xls etc
I have specified the folder in Col A , whether to include sub-folders in Col B and have shown part of the file name using a wildcard character in Col C
I get a compile error : User defined type not specified
Please Login or Register to view this content.
It would be appreciated if someone can test my code and amend it to suit my needs
Bookmarks