I have numerous workbooks in numerous different folders, each with 5-25 worksheets. I would like to do a script that would look to see what folder the open workbook resides in, parse out the worksheets from that workbook to that same directory & delete the original workbook.
I.E. in c:\test\1 resides a workbook (test.xls) wich consisits of worksheets 1,2,3,4,5. After the macro runs the directory would only consist of workbooks1.xls,2.xls,3.xls,4.xls,5.xls. Test.xl would be deleted.
Any direction woud be appreciated.
I.E. in c:\test\1 resides a workbook (test.xls) wich consisits of worksheets 1,2,3,4,5. After the macro runs the directory would only consist of workbooks1.xls,2.xls,3.xls,4.xls,5.xls. Test.xl would be deleted.
Any direction woud be appreciated.