Form.ChartSpace Property

Access Developer Reference

Returns a ChartSpace object. Read-only.

Syntax

expression.ChartSpace

expression   A variable that represents a Form object.

Remarks

You must set a reference to the Microsoft Office Web Components type library in order to use this property.

Example

This example reports the version of Microsoft Office Web Components in use for the specified form.

Visual Basic for Applications
  Dim objChartSpace As ChartSpace

Set objChartSpace = Forms(0).ChartSpace

MsgBox "Current version of Office Web Components: " _ & objChartSpace.Version

See Also