getCellValueAsNumber method



Returns the contents of the upper-left cell in the range as a number.

Syntax

theNumber = Range.getCellValueAsNumber()

Parameters

none.

Return value

theNumber
double. The cell value as a number.

Usage

If the value in the cell is a label, 0 is returned.

See also
getCellContents method
getCellValueAsstring method
setCellContentsFromNumber method
setCellContentsFromstring method