MemoryFree Property [Excel 2003 VBA Language Reference]

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

Example

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

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

Applies to | Application Object

See Also | MemoryUsed Property