I\'m using the Excel.Application COM object from a Python program to open a CSV file and save it as an Excel workbook. If the target file already exists, then I am prompted
Before saving the file set DisplayAlerts to False to suppress the warning dialog:
DisplayAlerts
False
xl.DisplayAlerts = False
After the file is saved it is usually a good idea to set DisplayAlerts back to True:
True
xl.DisplayAlerts = True