Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Excel Screen refresh while VBA is running

Hello

I have the following problem (this is the second time i post this
question, it lools like the first one didn't go through). When a macro
runs in Excel, and the user selects another application, Excel screen
stops being updated. When the user focuses back on Excel, the Excel
screen stays un-updated, and basically show whatever was on display
when the user selected another application in the first place.

This is a bit annoying when the macro takes hours to run and a
progress bar or the Application.Statusbar allows to follow the
progression of the calculations. If the screen is not refreshed
anymore, there is no way to know how much longer the macro is going to
take.

Is there any way arround that? For instance to force a refresh of the
screen regularly, or even better to do this only when excel is the
active application?

thanks in advance
Charles
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Excel Screen refresh while VBA is running

Yes, it posted. Scroll down, it's there. I asked if you tried putting the
DoEvents statement inside your innermost loop.

"Charles" wrote:

Hello

I have the following problem (this is the second time i post this
question, it lools like the first one didn't go through). When a macro
runs in Excel, and the user selects another application, Excel screen
stops being updated. When the user focuses back on Excel, the Excel
screen stays un-updated, and basically show whatever was on display
when the user selected another application in the first place.

This is a bit annoying when the macro takes hours to run and a
progress bar or the Application.Statusbar allows to follow the
progression of the calculations. If the screen is not refreshed
anymore, there is no way to know how much longer the macro is going to
take.

Is there any way arround that? For instance to force a refresh of the
screen regularly, or even better to do this only when excel is the
active application?

thanks in advance
Charles

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
Excel (not spreadsheet) Screen refresh while VBA is running Charles Excel Programming 2 July 9th 08 09:52 PM
Excel Screen Refresh Issue in Terminal Server Denis Excel Discussion (Misc queries) 0 February 11th 08 07:26 AM
Force Excel to Refresh Screen Ming Excel Programming 3 September 12th 06 09:52 AM
supress screen refresh when macros running in excel VB drstraw Excel Programming 3 August 26th 05 04:25 AM
running a macro on every refresh of the screen shovit sahai Excel Programming 5 March 2nd 05 10:56 PM


All times are GMT +1. The time now is 09:21 PM.

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

About Us

"It's about Microsoft Excel"