From 57104ba3838bc7e8a9fdffb7c0cf48e66c9cee2b Mon Sep 17 00:00:00 2001 From: Bethany Nicholson Date: Mon, 17 Jun 2019 15:26:34 -0600 Subject: [PATCH] Use DispatchEx to launch Excel to not interfere with any open Excel windows --- pyutilib/excel/spreadsheet_win32com.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyutilib/excel/spreadsheet_win32com.py b/pyutilib/excel/spreadsheet_win32com.py index 78789e76..7afadd9f 100644 --- a/pyutilib/excel/spreadsheet_win32com.py +++ b/pyutilib/excel/spreadsheet_win32com.py @@ -20,7 +20,7 @@ # set a flag to tell the ExcelSpreadsheet class that it should # raise an exception in its constructor. # -from win32com.client.dynamic import Dispatch +from win32com.client import DispatchEx as Dispatch from pythoncom import CoInitialize, CoUninitialize, com_error from pyutilib.excel.base import ExcelSpreadsheet_base