MemoryFree Property

Applies To

Application Object.

Description

Returns the amount of memory that is still available for Microsoft Excel to use, in bytes. Read-only.

See Also

MemoryTotal Property, MemoryUsed Property.

Example

This example displays a message box showing the number of free bytes.


MsgBox "Microsoft Excel has " & Application.MemoryFree & " bytes free"