View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Protect or unprotect worksheets in Excel file

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 3.83 KB File ID: #42055 Version: 1.1
image thumbnail

Protect or unprotect worksheets in Excel file



03 Jun 2013 (Updated )

Protect or unprotect selected worksheets in Excel file, with or without password

| Watch this File

File Information


- XLSFILE: name of the Excel file
- SHEETS: cell array with the worksheet names, or matrix with positive integers, or 'all', to tell which worksheets are going to be protected
- ACTION: 'protect' or 'unprotect'
- PASSWORD: password to protect or unprotect the worksheet

- XLSFILE will be edited


Check If Xls File Is Open And Close It inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Other requirements MS Excel
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
03 Jun 2013 1.1

Added missing function

Contact us