PivotFormula 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
代表在数据透视表中用于计算的公式。
public interface class PivotFormula
[System.Runtime.InteropServices.Guid("0002441E-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface PivotFormula
Public Interface PivotFormula
- 属性
注解
使用 PivotFormulas (index) (其中 index 公式左侧是公式编号或字符串)返回 PivotFormula 对象。
本对象及其相关属性和方法对于 OLAP 数据源无效,这是因为它不支持计算字段和计算项。
属性
| _Default |
仅供内部使用。 |
| Application |
返回一个 Application 对象,该对象代表 Microsoft Excel 应用程序。 |
| Creator |
返回一个 32 位整数,该整数指示在其中创建了此对象的应用程序。 |
| Formula |
使用 A1 样式表示法返回或设置对象的公式。 |
| Index |
返回或设置集合中 PivotFormulas 对象的索引号。 |
| Parent |
返回指定对象的父对象。 |
| StandardFormula |
返回或设置一个 String 值,该值指定使用标准英语(美国)格式的公式。 |
| Value |
数据透视表公式中指定公式的名称。 |
方法
| Delete() |
删除对象。 |