MemoryFree Returns the amount of memory in bytes that Excel is allowed to use, not including memory already in use.
Sub InspectTheEnvironment() Debug.Print Application.MemoryFree End Sub