How To Open Write Reserved Excel File In Python With Win32com?
I'm trying to open a write-protected ms excel 2007 file using win32com in python -- I know the password. I can open it with user input of the password into the excel dialog box.
Solution 1:
I can get the above code to work if I don't try to use named function parameters. I.e. the following works:
app.Workbooks.Open("filename.xls", 2, True, None, None, "secret")
Post a Comment for "How To Open Write Reserved Excel File In Python With Win32com?"