PivotField.MemoryUsed Property

Excel Developer Reference

Returns the amount of memory currently being used by the object, in bytes. Read-only Long.

Syntax

expression.MemoryUsed

expression   A variable that represents a PivotField object.

Example

This example displays a message box showing the number of bytes that Microsoft Excel is currently using.

Visual Basic for Applications
  MsgBox "Microsoft Excel is currently using " & _
    Application.MemoryUsed & " bytes"

See Also