View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
RB Smissaert RB Smissaert is offline
external usenet poster
 
Posts: 2,452
Default Screen Updating For Status Bar

Try this:

Application.StatusBar = xxxx
DoEvents


RBS


"DownThePaint" wrote in message
...
Hi Mike;

I am doing that with the code now. As long as the user keeps the
application focus on Excel the updating works but if they say, go check
email
and then come back when Excel regains focus the status bar does not update
even thought the routine is successfully running in the back ground.

Thanks,

"Mike H" wrote:

As long as you pick up the value of XXXX in a variable as your code loops
then try

Application.StatusBar = xxxx



Mike

"DownThePaint" wrote:

I have a VBA routine that keeps the user updated on progress by
changing the
status bar (Processing xxx Row of yyyy). When the user multi tasks and
goes
to do something else and then comes back to Excel the status bar
updating is
frozen. I have the Application.ScreenUpdating set to TRUE.

Any Ideas?