ReferredArea.GetValues

GetValues()

Gets cell values in this area.

public object GetValues()

Return Value

If this area is invalid, “#REF!” will be returned; If this area is one single cell, then return the cell value object; Otherwise return one 2D array for all values in this area.

See Also


GetValues(bool)

Gets cell values in this area.

public object GetValues(bool calculateFormulas)
ParameterTypeDescription
calculateFormulasBooleanIn this range, if there are some formulas that have not been calculated, this flag denotes whether those formulas should be calculated recursively

Return Value

If this area is invalid, “#REF!” will be returned; If this area is one single cell, then return the cell value object; Otherwise return one 2D array for all values in this area.

See Also