PivotField.MemoryUsed property (Excel)
Returns the amount of memory currently being used by the object, in bytes. Read-only Long.
expression.MemoryUsed
expression A variable that represents a PivotField object.
This example displays a message box showing the number of bytes that Microsoft Excel is currently using.
MsgBox "Microsoft Excel is currently using " & _
Application.MemoryUsed & " bytes"
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.