Example: add method

This example creates a DataPilot table.

  DataPilotTables tables = sheet.getDataPilotTables();
  Range source = sheet.range("A1:E5");
  Range dest = sheet.range("F7");
  tables.add(source, "DPT_NEW", dest);

Related information

add method