setCellContentsFromNumber method



Sets the contents of the cell in the upper-left corner of the range to the specified number.

Syntax

Range.setCellContentsFromNumber(contents)

Parameters

contents
Double. The contents to be placed in the cell.

Return value

none.

Usage

setCellContentsFromNumber works as if the user selected a cell and entered a value in the edit line.
It overwrites any value already in the cell.

See also
setCellContentsFromString method
getCellContents method
getCellValueAsNumber method
getCellValueAsString method