CalculatedItems.Add Method (Excel)

Creates a new calculated item. Returns a PivotItem object.

Syntax

.Add(Name, Formula, UseStandardFormula)

A variable that represents a CalculatedItems object.

Parameters

Name

Required/Optional

Data Type

Description

Name

필수

String

The name of the item.

Formula

필수

String

The formula for the item.

UseStandardFormula

선택

Variant

False (default) for upward compatibility. True for strings contained in any arguments that are item names, will be interpreted as having been formatted in standard U.S. English instead of local settings.

Return Value

A PivotItem object that represents the new calculated item.

참고 항목

개념

CalculatedItems Collection

CalculatedItems Object Members