score:1

Accepted answer

You are only closing the workbook in your code.

oApp.Workbooks.Close

Will just close the workbook and leave the window open.

Add oApp.quit after closing the workbook


Related Query