Hi,
I have some VBA-code and at a certain point I want to close a specific file. Actually I want to close an Excel file which name and location are known to me.
I think I need some code that checks wether the specific file is open and some code that then closes this specific file.
Is there such a code available in VBA? Has anyone a superb idea?
Cheers,
Willem
I have some VBA-code and at a certain point I want to close a specific file. Actually I want to close an Excel file which name and location are known to me.
I think I need some code that checks wether the specific file is open and some code that then closes this specific file.
Is there such a code available in VBA? Has anyone a superb idea?
Cheers,
Willem