Worksheet::protect

Worksheet::protect

Worksheet::protect -- Set the worksheet protection flag

Description

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

Parameter

  • string $password - The password to use for protecting the sheet.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.