MemoryUsed Returns the amount of memory, in bytes, that Excel is currently using.
Sub InspectTheEnvironment() Debug.Print Application.MemoryUsed End Sub