Share via


XMLExcelDocument_RU.insertSheet Method [AX 2012]

Inserts a worksheet to a workbook.

Syntax

public void insertSheet(
   [int _copyFromSheet, 
    int _after, 
    str _newName])

Run On

Called

Parameters

  • _copyFromSheet
    Type: int
    The worksheet from which a new worksheet should be copied.
  • _after
    Type: int
    The worksheet after which the new worksheet will be inserted.
  • _newName
    Type: str
    The name of the new worksheet.

See Also

Reference

XMLExcelDocument_RU Class