Example: Text property

This example sets text for all the cells of the range.

  Range range = sheet.range("A1:E6");
  range.setText("My range");

Related information

Text property