ValueChange.AllocationMethod property (Excel)

Returns the method to use to allocate this value when performing what-if analysis. Read-only.

Syntax

expression.AllocationMethod

expression A variable that represents a ValueChange object.

Return value

XlAllocationMethod

Remarks

The AllocationMethod property corresponds to the Allocation Method 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 method of the PivotTableChangeList collection, and the corresponding AllocationMethod parameter was not supplied, the default allocation method of the OLAP server is returned.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.