This is my code, and I found many answers for VBA, .NET framework and is pretty strange. When I execute this, Excel closes.
from win32com.client import Dispa
I have this in my files that use Excel:
self.excel.Application.Quit()