返回 Microsoft Excel 中可用内存总量,包括已用内存量。Long 类型,只读。
MemoryTotal 等价于 MemoryUsed + MemoryFree。
本示例在信息框中显示可用内存的总字节数。
MsgBox "Microsoft Excel has " & Application.MemoryTotal & _ " total bytes available"