Example: Sheet property

This example gets the sheet of the range, and then displays the name of the sheet

  Range range = activesheet.range("A1:E6");
  Sheet sheet = range.getSheet();
  System.out.println(sheet.getName());

Related information

Sheet property