expression.ChartSpace
expression 必需。返回“應(yīng)用于”列表中的一個對象的表達式。
要使用該屬性,必須設(shè)置對 Microsoft Office Web Components 類型庫的引用。
該示例匯報了指定窗體所使用的 Microsoft Office Web Components 的版本。
Dim objChartSpace As ChartSpace
Set objChartSpace = Forms(0).ChartSpace
MsgBox "Current version of Office Web Components: " _
& objChartSpace.Version