I'm trying to writing and reading a excel file using xlsxwriter. First I opened the file and did some operations and saved that, Next I had to open the another file which is linked to the previous file, that time a dialogue box appears with warning. Until I click update button script won't run. Is there any way to close all dialogue box's or any way to make the update button clicked.
A little bit of hint or any way would be very helpful. Thank you very much.
Codes for opening and writing the file.
excel = win32.gencache.EnsureDispatch('Excel.Application')
wb = excel.Workbooks.Open(newpath)
excel.Visible = True
excel.DisplayAlerts = False
ws = wb.Worksheets('Python_Inputs')
wb.Save()excel.Quit()
question from:
https://stackoverflow.com/questions/65851468/need-to-turn-off-dialogue-box-or-make-the-update-button-clicked-on-excel-while-r 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…