PivotTable.AllocationValue property (Excel)
Returns or sets the value to allocate when performing what-if analysis on a PivotTable report based on an OLAP data source. Read/write.
Syntax
expression.AllocationValue
expression A variable that represents a PivotTable object.
Return value
Remarks
The AllocationValue property corresponds to the Value to Allocate setting in the What-If Analysis Settings dialog box. The default setting is xlAllocateValue, which corresponds to the setting The value entered divided by the number of allocations.
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.