Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Macro CPU Utilization Issue

I'm using Walkenbach's Progress Indicator form to display the progress
of a fairly complicated macro I've written. It would work fine, except
that when I run it my CPU utilization shoots up to 100% for over 5
minutes and my Progress Indicator/Excel freezes until completion. So
this nice progress indicator I've built in is now basically useless.
Does anyone know a workaround?

Secondly - are Userforms/repainting of forms subject to the
ScreenUpdating=False?

Thanks!

Brad

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro CPU Utilization Issue


You should use

Application.screenupdating = false

Your forms will be shown normally


--
Zurn
------------------------------------------------------------------------
Zurn's Profile: http://www.excelforum.com/member.php...o&userid=14645
View this thread: http://www.excelforum.com/showthread...hreadid=533594

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Macro CPU Utilization Issue

More likely, you need a DoEvents statement somewhere within the loop.

Robin Hammond
www.enhanceddatasystems.com

"Zurn" wrote in message
...

You should use

Application.screenupdating = false

Your forms will be shown normally


--
Zurn
------------------------------------------------------------------------
Zurn's Profile:
http://www.excelforum.com/member.php...o&userid=14645
View this thread: http://www.excelforum.com/showthread...hreadid=533594



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warehouse utilization Template Scribeman Excel Discussion (Misc queries) 1 October 16th 09 10:41 AM
Low CPU Utilization Eric Excel Discussion (Misc queries) 4 August 7th 07 03:24 PM
Increased CPU utilization in Excel 2003 mitch Excel Discussion (Misc queries) 0 April 11th 06 07:29 PM
CodeModule utilization problem Valeria Excel Programming 5 September 26th 05 03:23 PM
Optimize RAM Utilization Ken Wright Excel Programming 0 June 2nd 04 09:52 PM


All times are GMT +1. The time now is 01:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"