PC Review


Reply
Thread Tools Rate Thread

CPU usage if excel is not in the Active Window

 
 
pls123
Guest
Posts: n/a
 
      16th Oct 2009
Goodmorning everybody!!
I have an analysis program in excel made of few main workbooks and a lot of
child workbooks...its over 300..

they are open during analysis time and the run a macro evry second..

the problem is that the excel window must be active (like when you click on
the bar of the window..!! ) , or the cpu usage raises for 20-25 costant...
to over 45 (closing the DDE application for data import )..
i tryed to select the options to optimize for background èprograms but it
doen't have any effect..

it is not a big problem thus i just need to click the window bar with a
mouse macro recorder !!!
so do you know if it is a known issue or you have any idea to avoid the
problem !??
or do you have a row of vbe to run for making excel active window ??

tx all
paolo
 
Reply With Quote
 
 
 
 
OssieMac
Guest
Posts: n/a
 
      16th Oct 2009
Hi Paolo,

For this question "do you have a row of vbe to run for making excel active
window ??"

AppActivate ("Microsoft Excel")

--
Regards,

OssieMac


 
Reply With Quote
 
paolo luigi spinelli
Guest
Posts: n/a
 
      19th Oct 2009
ty bb !!!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vbe command for making excel in the active window on top pls123 Microsoft Excel Programming 5 6th May 2010 01:34 AM
How to Operate the active Excel Window with VB6 NTorch Microsoft Excel Programming 1 27th Jul 2006 03:47 AM
Excel 2000 macro runs v.slowly when Excel is not Active Window Mark Garratt Microsoft Excel Programming 0 11th May 2004 09:18 AM
preventing closure of active excel window cyclingsal Microsoft Excel Programming 2 26th Apr 2004 08:20 AM
Changing Excel Icon in the Active Window Aaron Microsoft Excel Programming 3 7th Aug 2003 09:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:28 AM.