I am trying to open ms excel 2007 file with write protection using win32com in python - I know the password. I can open it by entering the user password in the Excel dialog box. I want to be able to open a file without any user interaction. I tried the following, but a dialog still appears.
app.Workbooks.Open("filename.xls", WriteResPassword="secret")
Any ideas what I'm doing wrong please?
Thank,
Dave
source
share