title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
PivotCache.MemoryUsed property (Excel) |
vbaxl10.chm227077 |
|
|
f68731ec-053e-79e9-861f-2c225b827e96 |
05/03/2019 |
medium |
Returns the amount of memory currently being used by the object, in bytes. Read-only Long.
expression.MemoryUsed
expression A variable that represents a PivotCache object.
For PivotCache objects, this property reflects the transient state of the cache at the time that it's queried.
If the PivotCache object has no PivotTable report attached to it, this property returns 0 (zero).
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"
[!includeSupport and feedback]