Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Delay update of sheets

Hi all:

In excel VBA, is there a way to freeze the updating of the sheets, make all
sort of changes, and then have it update by code? I am trying to make lots
of changes, but the screen flickers, and it takes too long. I was hoping to
delay the the update once I was done with all my changes. Thanks for all
your help.

Bob


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Delay update of sheets


add these to the beginning of your code

Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual

and these at the end

Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
--


Gary

"Bob" wrote in message
...
Hi all:

In excel VBA, is there a way to freeze the updating of the sheets, make
all
sort of changes, and then have it update by code? I am trying to make
lots
of changes, but the screen flickers, and it takes too long. I was hoping
to
delay the the update once I was done with all my changes. Thanks for all
your help.

Bob




  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Delay update of sheets

Thanks Gary.

"Gary Keramidas" wrote:


add these to the beginning of your code

Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual

and these at the end

Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
--


Gary

"Bob" wrote in message
...
Hi all:

In excel VBA, is there a way to freeze the updating of the sheets, make
all
sort of changes, and then have it update by code? I am trying to make
lots
of changes, but the screen flickers, and it takes too long. I was hoping
to
delay the the update once I was done with all my changes. Thanks for all
your help.

Bob





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
How do I update links from .xls sheets to .xlms sheets June Excel Worksheet Functions 2 April 21st 10 08:57 PM
How to update data from multiple sheets to one specific sheets Khawajaanwar Excel Discussion (Misc queries) 4 January 15th 10 07:31 AM
Cell update delay Bob_hc Excel Worksheet Functions 5 January 4th 10 03:21 PM
Update all Sheets Rich Excel Discussion (Misc queries) 0 May 16th 06 04:02 PM
Long Time Delay To Update NewsGroup Minitman[_4_] Excel Programming 2 November 13th 04 08:57 PM


All times are GMT +1. The time now is 04:20 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"