Moves the chart to a different worksheet. The method specifies whether the chart should be inserted as an object within the worksheet, or converted to a chart sheet.

 public void MoveChart(ChartLocation chartLocation, System.String sheetName, int sheetIndex)
Public Sub MoveChart(ByVal chartLocation As ChartLocation, ByVal sheetName As String, ByVal sheetIndex As Integer)

Chart.ChartLocation.ChartAsSheet or Chart.ChartLocation.ObjectInSheet.

New name for the sheet to which the chart is moved.

The 0-based index of the worksheet to move the chart to or the index of the chartsheet to insert.