I am creating an excel file using interop.excel and the process is not closing. This is the code i am trying to use.
Private Sub converToExcel(fileLoc As S
It's just as simple as adding this line in your code, just after opening the Workbook:
oExcel.displayalerts = False