Borrar filtros
Borrar filtros

Opening Password Protected Excel Files in Matlab

13 visualizaciones (últimos 30 días)
Ted Thompson
Ted Thompson el 25 de Mzo. de 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!

Respuestas (1)

Samer Husam
Samer Husam el 28 de Jun. de 2012
Editada: Walter Roberson el 28 de Jun. de 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)

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by