Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.02 KB

Excel.PivotCache.MemoryUsed.md

File metadata and controls

45 lines (26 loc) · 1.02 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
PivotCache.MemoryUsed property (Excel)
vbaxl10.chm227077
vbaxl10.chm227077
Excel.PivotCache.MemoryUsed
f68731ec-053e-79e9-861f-2c225b827e96
05/03/2019
medium

PivotCache.MemoryUsed property (Excel)

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 PivotCache object.

Remarks

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).

Example

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]