MemoryFree Property

Applies To

Application object.

Description

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

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"