MemoryFree Property Example
This example displays a message box showing the number of free bytes.
MsgBox "Microsoft Excel has " & _ Application.MemoryFree & " bytes free"