and Workbooks.Close(fileName:=myString) will close the data file when you are done with it
Given what the OP stated in post #1, what makes you think the workbook needs to be opened or closed via code? None of your posts in this thread actually addresses the question that was asked. Do try to be relevant...