CalculatedItems.Add(String, String, Object) 方法

定义

新建计算项。 返回 对象 PivotItem

public Microsoft.Office.Interop.Excel.PivotItem Add (string Name, string Formula, object UseStandardFormula);
Public Function Add (Name As String, Formula As String, Optional UseStandardFormula As Object) As PivotItem

参数

Name
String

必需的 字符串 。 项目名称。

Formula
String

必需的 字符串 。 项的公式。

UseStandardFormula
Object

可选 对象。 为实现向上兼容,该值默认为 False如此 对于作为项目名称的任何参数中包含的字符串, (将被解释为采用标准美国英语而不是本地设置) 格式。

返回

适用于