setCellContentsFromString method



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

Syntax

Range.setCellContentsFromString(contents)

Parameters

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

Return value

none.

Usage

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

See also
setCellContentsFromNumber method
getCellContents method
getCellValueAsNumber method
getCellValueAsString method