MikeTruscott
Technical User
Hi everyone,
Any help on this would be greatly appreciated.
Basically I've written an Excel 'tool' which takes some spreadsheets, exports them to access, lets access to it's thing, retrieves the results from access and produces to pretty little charts!
One day it works and the next it doesn't. Sometimes when it crashes I close all of the windows only to find that ACCESS.EXE is still using 97% of the memory! Sometimes excel won't re-open and sometimes I have to shut down my machine and restart it!
Basically I'm interested in keeping a log of memory useage in the task manager and I was wondering if there was a way of accessing it whilst the code is running to grab the information I need?
Can you access the task manager in the same way that you would open access or powerpoint from the code?
In case it's useful.....At the start there can be as many as 12 spreadsheets imported to access, with each one containing around 20000 lines. The access part of the tool uses around 30 tables and maybe 100 queries. At the end the excel spreadsheet which holds the code will have around 25 charts in it and a further 20 sheets with data on it.
Again.....any help really appreciated.
Cheers
Mike
Any help on this would be greatly appreciated.
Basically I've written an Excel 'tool' which takes some spreadsheets, exports them to access, lets access to it's thing, retrieves the results from access and produces to pretty little charts!
One day it works and the next it doesn't. Sometimes when it crashes I close all of the windows only to find that ACCESS.EXE is still using 97% of the memory! Sometimes excel won't re-open and sometimes I have to shut down my machine and restart it!
Basically I'm interested in keeping a log of memory useage in the task manager and I was wondering if there was a way of accessing it whilst the code is running to grab the information I need?
Can you access the task manager in the same way that you would open access or powerpoint from the code?
In case it's useful.....At the start there can be as many as 12 spreadsheets imported to access, with each one containing around 20000 lines. The access part of the tool uses around 30 tables and maybe 100 queries. At the end the excel spreadsheet which holds the code will have around 25 charts in it and a further 20 sheets with data on it.
Again.....any help really appreciated.
Cheers
Mike