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