XlAllocationMethod enumeration (Excel)

Specifies the method to use to allocate values when performing what-if analysis on a PivotTable report based on an OLAP data source.

Name Value Description
xlEqualAllocation 1 Use equal allocation.
xlWeightedAllocation 2 Use weighted allocation.

Remarks

If the AllocationMethod property is set to xlWeightedAllocation, you can optionally specify the weight expression to use by setting the AllocationWeightExpression property.

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.