LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Statusbar messages stop updating

I have a macro that imports 3 different sheets of data with
40,000-50,000 rows each, updates 30 accounts through array formulas,
then converts the result to text for better performance and to make the
end sheet usable. The process takes about half an hour for a month's
worth of data, which is ok. I am, however, facing a strange problem as
follows:

I am using the Application.StatusBar command to generate messages that
tell me how far along the macro has gone; something like "Updating acct
1 of 30, day 11/19/2005" in the routine. The problem is that it works
for a while, but then invariably excel goes into some sort of "trance"
where it stops updating the message. The 'task manager', in fact, will
list excel as "Not responding"... however, if I wait it out Excel will
invariably finish updating and "come back to life". Still, I do not
like the uncertainty of waiting for 10-20 minutes not knowing whats
going on or how far along the updating process it has gone, and I don't
like interrupting the macro execution to find out (sometimes even that
takes ages to kick in).

I am guessing that the application.statusbar messages are interrupted
when other events happen outside the Excel environment (an email
notification, an instant message, opening or closing folders or other
application while it is running). I have tried shutting down anything
that might cause this but still run into the problem of the statusbar
not displaying messages after a while.

Any ideas as to how to "force" excel to keep updating the statusbar
messages? Note that I AM using Application.ScreenUpdating = False and
Application.DisplayAlerts = False in order to speed up execution --
could this have anything to do with whats happening?


I appreciate any ideas on this... thanks!

 
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
updating a list of messages Schofield Excel Discussion (Misc queries) 0 October 26th 09 06:41 PM
How do I stop my formulas from updating? Shaun Excel Discussion (Misc queries) 2 May 7th 09 07:37 PM
Help! How do I stop link updating? Dennis Benjamin Excel Discussion (Misc queries) 3 January 11th 08 02:13 PM
Setting to stop error messages from showing? JENNYC Excel Discussion (Misc queries) 5 February 24th 06 10:05 PM
Statusbar not updating when autosaving Claus[_3_] Excel Programming 2 November 17th 05 10:01 AM


All times are GMT +1. The time now is 05:34 AM.

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"