Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Is it possible to monitor memory usage via vba? Basically,
when a certain percentage of memory is reached I would like to show a message box asking the user to close some applications. Thank you |
#2
![]() |
|||
|
|||
![]()
JL
There are three properties you could use, MemoryUsed, MemoryFree, TotalMemory. Like so Sub memory() With Application MsgBox "Total memory used: " & .MemoryUsed MsgBox "Total memory free: " & .MemoryFree MsgBox "Total memory: " & .MemoryTotal End With End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England HIS "JL" wrote in message ... Is it possible to monitor memory usage via vba? Basically, when a certain percentage of memory is reached I would like to show a message box asking the user to close some applications. Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Expanding memory usage Excel 2003 | Excel Discussion (Misc queries) | |||
Usage of sumif | Excel Discussion (Misc queries) | |||
Display material with usage | Excel Worksheet Functions |