python win32com close Excel process
WEBMar 16, 2014 · Update: If this doesn't work, you could try attaching to a running instance, once dispatched, do not close the app, just close the workbook. In that case you would probably want to do something like this: class XlsClass: def __init__(self, xlApp, filename=None,*,Visible=False,Alerts=False): = xlApp.