Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CellProtection

Create a CellProtection object.


Description

Create a CellProtection object used for cell styles.

Usage

is.CellProtection(x)

CellProtection(locked = TRUE, hidden = FALSE)

Arguments

x

A CellProtection object, as returned by CellProtection.

locked

a logical indicating the cell is locked.

hidden

a logical indicating the cell is hidden.

Value

CellProtection returns a list with components from the input argument, and a class attribute "CellProtection". CellProtection objects are used when constructing cell styles.

is.CellProtection returns TRUE if the argument is of class "CellProtection" and FALSE otherwise.

Author(s)

Adrian Dragulescu

See Also

CellStyle for using the a CellProtection object.

Examples

font <-  CellProtection(locked=TRUE)

xlsx

Read, Write, Format Excel 2007 and Excel 97/2000/XP/2003 Files

v0.6.5
GPL-3
Authors
Adrian Dragulescu [aut], Cole Arendt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.