Example: StartColumn property

This example displays the index or the first column in the range.

  Range range = sheet.range("A1:E6");
  System.out.println(range.getStartColumn());

Related information

StartColumn property