Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Macro - Prevent screen refresh

Is there a way to prevent the workbook screen display getting refreshed as a
macro runs, and make the macro run in the background without refreshing the
worksheet display.

Maybe it runs faster that way.


Rgds,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Macro - Prevent screen refresh

You are quite correct. try this:

application.screenupdating=false
'
'your code here
'
application.screenupdating=true

"Bharath Rajamani" wrote in
message ...
Is there a way to prevent the workbook screen display getting refreshed as
a
macro runs, and make the macro run in the background without refreshing
the
worksheet display.

Maybe it runs faster that way.


Rgds,



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default Macro - Prevent screen refresh

Bharath:

Application.ScreenUpdating = False
'...
'Your code in Here
'...
Application.ScreenUpdating = True



HTH
Duncan


Bharath Rajamani wrote:
Is there a way to prevent the workbook screen display getting refreshed as a
macro runs, and make the macro run in the background without refreshing the
worksheet display.

Maybe it runs faster that way.


Rgds,


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
Prevent refresh in certainpivot tables in workbook Pierre Excel Worksheet Functions 2 March 3rd 09 08:11 PM
prevent big white screen [email protected] Excel Worksheet Functions 1 May 30th 07 01:14 AM
Prevent Screen from flicking from one place to the next skuzapo Excel Programming 4 March 9th 06 02:57 AM
Screen Refresh Michael H Excel Discussion (Misc queries) 4 November 8th 05 04:46 PM
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 04:28 AM.

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"