2.2.10.1.3.1 INT32(389) – Secured Cell Value

See [MSDN-SecuredCellValue] for more information.

The table below specifies the values in the cells secured by cell security for the different values of Secured Cell Value property

Value

Definition

0

Default. For compatibility with earlier versions, this means the same as Value 1. The meaning of this default value is subject to change in future versions.

1

Returns: HRESULT = NO_ERROR

The Value property of the cell contains the result as a variant data type. The string "#N/A" is returned in the Formatted Value property.

2

An error is returned as the value of HRESULT.

3

NULL is returned in both the Value and Formatted Value properties.

4

A numerical zero (0) is returned in the Value property, and a formatted zero is returned in the Formatted Value property. For example, 0.00 is returned in the Formatted Value property for a cell whose format property is "#.##".

5

The string "#SEC" is returned in both the Value and Formatted Value properties.

Show: