xlsprotect

Protects/Unprotects Selected Sheet/Workbook with protection options.

Vous suivez désormais cette soumission

SYNTAX

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)

Citation pour cette source

Fahad Al Mahmood (2026). xlsprotect (https://fr.mathworks.com/matlabcentral/fileexchange/6046-xlsprotect), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Added File Protection Option