rguglielmon
Technical User
I have a macro that opens and closes a number of workbook files. The problem is that the files remain in my Project Explorer window even after closing Excel and rebooting. I've done similar things before and never had this happen.
Here's the code I use to open the files:
Set RegionBook = Workbooks.Open(RegionFilePath & RegionFileNames(i))
and the code to close them:
RegionBook.Close
2 questions:
1) What can I do to prevent these files from remaining in the Project Explorer window?
2) How do I get rid of the ones that are there?
Here's the code I use to open the files:
Set RegionBook = Workbooks.Open(RegionFilePath & RegionFileNames(i))
and the code to close them:
RegionBook.Close
2 questions:
1) What can I do to prevent these files from remaining in the Project Explorer window?
2) How do I get rid of the ones that are there?