MemoryUsed Property

Applies To

Application Object.

Description

Returns the amount of memory that is currently in use by Microsoft Excel, in bytes. Read-only.

See Also

MemoryFree Property, MemoryTotal Property.

Example

This example displays a message box showing the number of bytes currently being used.


MsgBox "Microsoft Excel is currently using " & _
    Application.MemoryUsed & " bytes"