Udostępnij za pośrednictwem


ChartSheet Host Item

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

Microsoft Office version

  • Excel 2003

  • Excel 2007

For more information, see Features Available by Application and Project Type.

The ChartSheet host item is a worksheet in Excel that contains only a chart and exposes events.

When you add a chart sheet at design time as a new sheet in your Microsoft Office Excel document-level customization project, Visual Studio Tools for Office automatically creates a ChartSheet host item.

Although a ChartSheet host item is a worksheet in Excel, you cannot add any controls to the chart sheet. If you want to have other controls on a worksheet with a chart, do not use a chart sheet. Instead, you can place a chart as an embedded object on a worksheet by using the Chart host control. For more information, see Chart Control.

Events

The events available for the ChartSheet host item are:

See Also

Concepts

Host Items and Host Controls Overview

Worksheet Host Item

Workbook Host Item

Programmatic Limitations of Host Items and Host Controls

Other Resources

Excel Host Controls