Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Question on how to troubleshoot large CPU usage

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
simonboland@gmail.com - 23 Oct 2007 07:12 GMT
Hi,

I have a problem where my spreadsheet is taking most of my CPU.  I'm
interested in any tips or pointers on how to go about troubleshooting
this.

This is what I have:

1) 8 worksheets in total.

2) A couple of macros to import data from a MySQL database using an
ODBC connector.

3) 4 of my worksheets store my imported data.  The number of rows is
variable but it's typically between 20 - 100 rows and  about 5
columns. In some of these worksheets I have an extra 5 or so columns
to do various calculations mostly for comparing dates and converting
between Unix time and Excel date/time format.  To help me with my
analysis I've used commands such as IF(ISBLANK(A2),"",
(A2-25569)*86400)  to either calculate a time/date or display a blank
cell since the number of rows are variable.

4) In the other 4 worksheets I do my analysis of the imported data.  I
also have some plots in one worksheet.

5) The total memory usage is about 50 MBytes according to Windows task
manager..

The main problem I have is that when I click on any of the 4
worksheets which contain my imported data, the CPU usage goes to
100%.  I've tried to reduce the size of the data in these worksheets
but it still takes this amount.

Any suggestions would be appreciated.

Thanks.
Niek Otten - 23 Oct 2007 08:01 GMT
For lots of information about Excel performance, visit Charles William's site:

www.decisionmodels.com

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| Hi,
|
[quoted text clipped - 32 lines]
|
| Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.