This documentation is archived and is not being maintained.

_Chart.Location Method

Moves the chart to a new location.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Chart Location(
	XlChartLocation Where,
	Object Name
)

Parameters

Where
Type: Microsoft.Office.Interop.Excel.XlChartLocation

Required XlChartLocation. Where to move the chart.

Name
Type: System.Object

Optional Object; required if Where is xlLocationAsObject. The name of the sheet where the chart will be embedded if Where is xlLocationAsObject or the name of the new sheet if Where is xlLocationAsNewSheet.

Show: