Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
XL.Sheet.SetProtect
Protects/unprotects the sheet.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| XL | 3.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "XL.Sheet.SetProtect"; bookRef; sheetIndex; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
| sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 |
| Value | The new setting. | 1 |
Result
Returns OK or error message.
Description
Protects/unprotects the sheet.Examples
Protect the 3rd sheet:
MBS( "XL.Sheet.SetProtect"; $book; 2; 1)
See also
- XL.Book.SheetCount
- XL.Format.SetLocked
- XL.LoadBook
- XL.Sheet.GetFooter
- XL.Sheet.GetPrintFit
- XL.Sheet.GetProtect
- XL.Sheet.SetFooter
- XL.Sheet.SetPaper
- XL.Sheet.SetPrintRow
- XL.Sheet.SetProtectEx
Created 18th August 2014, last changed 18th August 2014
XL.Sheet.SetPrintZoom - XL.Sheet.SetProtectEx
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins