maybe the GlobalMemoryStatusEx function, see http://www.vbapi.com Will post some code in a little while,