Example: Column property

This example displays the number of columns in the range.

  int column = range.getColumn();
  System.out.println(column);

Related information

Column property