Edit

Share via


ValueChange.AllocationValue Property

Definition

Gets what value to allocate when performing what-if analysis.

public:
 property Microsoft::Office::Interop::Excel::XlAllocationValue AllocationValue { Microsoft::Office::Interop::Excel::XlAllocationValue get(); };
public Microsoft.Office.Interop.Excel.XlAllocationValue AllocationValue { get; }
Public ReadOnly Property AllocationValue As XlAllocationValue

Property Value

The value to allocate when performing what-if analysis.

Remarks

Read-only.

The AllocationValue property corresponds to the Value to Allocate setting in the What-If Analysis Settings dialog box for a PivotTable report based on an OLAP data source as it was set at the time that this change was originally applied. If the specified ValueChange object was created by using the Add(String, Double, Object, Object, Object) method of the PivotTableChangeList collection and the corresponding AllocationValue parameter was not supplied, the default allocation value of the OLAP server is returned.

Applies to