Worksheet::protect

Worksheet::protect -- Set the worksheet protection flag

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::protect (string $password)

Descripción

Set the worksheet protection flag to prevent accidental modification and to hide formulas if the locked and hidden format properties have been set.

Parámetro

Nota

Esta función no puede ser llamada estáticamente.

Ejemplo