Filter löschen
Filter löschen

Opening Password Protected Excel Files in Matlab

13 Ansichten (letzte 30 Tage)
Ted Thompson
Ted Thompson am 25 Mär. 2011
I am trying to open a password protected Excel file to use xlsread and xlsinfo. I know the password.
I have seen several posts including the xlsprotect solution which I downloaded but can't seem to get any of the solutions to work. It should work with Excel 2003 and Excel 1010.
Could someone walk me through this, please. Hopefully without pointing me to these other solutions I have already tried.
Now that I have an account on here, I can post MY SPECIFIC ERROR MESSAGES.
Thanks in advance!

Antworten (1)

Samer Husam
Samer Husam am 28 Jun. 2012
Bearbeitet: Walter Roberson am 28 Jun. 2012
you can use this :
xlsprotect(file,'protect_file',pwd2open,pwd2modify,read_only_recommended,create_backup)
xlsprotect(file,'unprotect_file',pwd2open)
xlsprotect(file,'unprotect_file',pwd2open,pwd2modify)
xlsprotect(file,'protect_sheet',sheetname,password)
xlsprotect(file,'protect_sheet',sheetname,password,s_options)
xlsprotect(file,'protect_sheet',sheetname,s_options)
xlsprotect(file,'protect_sheet',sheetname)
xlsprotect(file,'unprotect_sheet',sheetname)
xlsprotect(file,'unprotect_sheet',sheetname,password)
xlsprotect(file,'protect_workbook',password)
xlsprotect(file,'protect_workbook')
xlsprotect(file,'unprotect_workbook')
xlsprotect(file,'unprotect_workbook',password)

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by